| 52 | |
| 53 | const int32 lineno() const { return trace_->lineno(); } |
| 54 | string file() const { |
| 55 | // Backward compatible with old proto files. |
| 56 | if (!trace_->file().empty()) return trace_->file(); |
| 57 | return id_to_string_->at(trace_->file_id()); |
| 58 | } |
| 59 | string function() const { |
| 60 | // Backward compatible with old proto files. |
| 61 | if (!trace_->function().empty()) return trace_->function(); |