diff options
author | Giuliano Procida <gprocida@google.com> | 2024-01-12 17:04:44 +0000 |
---|---|---|
committer | Giuliano Procida <gprocida@google.com> | 2024-02-09 12:54:51 +0000 |
commit | 7f29188529ee4240a4fc5c1a2b6d586035d34786 (patch) | |
tree | 10ea55e336683ee6510d11bb47ae810d11f219a2 | |
parent | facdc82cb9df597ab09d66c0e0aeb58a10862f25 (diff) | |
download | stg-7f29188529ee4240a4fc5c1a2b6d586035d34786.tar.gz |
DWARF processor: better missing type declaration file error message
PiperOrigin-RevId: 597854958
Change-Id: Idf261ae8334c04a9c2bee92e46267e1b63747b6e
-rw-r--r-- | dwarf_processor.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dwarf_processor.cc b/dwarf_processor.cc index 4291638..4b1c7b5 100644 --- a/dwarf_processor.cc +++ b/dwarf_processor.cc @@ -477,8 +477,8 @@ class Processor { if (name.substr(0, kBuiltinPrefix.size()) == kBuiltinPrefix) { return true; } - Die() << "File filter is provided, but DWARF entry << " - << EntryToString(entry) << " << doesn't have DW_AT_decl_file"; + Die() << "File filter is provided, but " << name << " (" + << EntryToString(entry) << ") doesn't have DW_AT_decl_file"; } return (*file_filter_)(*file); } |