aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuliano Procida <gprocida@google.com>2023-10-11 13:06:54 +0100
committerGiuliano Procida <gprocida@google.com>2023-10-31 17:07:22 +0000
commitef0690e24023e7f34b7e08a087123bb110ac00bd (patch)
tree7c8dc7ae5af2010cf6c94b35d75583bc8b36d4e0
parentc073f41fe82608f423cd7d50359f0397bc84a2e0 (diff)
downloadstg-ef0690e24023e7f34b7e08a087123bb110ac00bd.tar.gz
DWARF processor: emit DWARF tag as hex in error message
PiperOrigin-RevId: 572541336 Change-Id: I6bb1617cd43daa37c04695ef93552cfee8261183
-rw-r--r--dwarf_processor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dwarf_processor.cc b/dwarf_processor.cc
index bd106af..5efaaee 100644
--- a/dwarf_processor.cc
+++ b/dwarf_processor.cc
@@ -848,8 +848,8 @@ class Processor {
// properly (resulting in no references to such DIEs).
break;
default:
- Die() << "Unexpected tag for child of function: " << child_tag << ", "
- << EntryToString(child);
+ Die() << "Unexpected tag for child of function: " << Hex(child_tag)
+ << ", " << EntryToString(child);
}
}