diff options
author | Giuliano Procida <gprocida@google.com> | 2023-10-12 16:33:39 +0100 |
---|---|---|
committer | Giuliano Procida <gprocida@google.com> | 2023-10-31 17:07:33 +0000 |
commit | 2f5c60487db9b61c01952502a859c7c8a12c59d6 (patch) | |
tree | 3722258a8237be622ff40df368eb59c6609d1206 | |
parent | 63fb9f29541034facc57273129ea6b353aa134eb (diff) | |
download | stg-2f5c60487db9b61c01952502a859c7c8a12c59d6.tar.gz |
DWARF processor: recurse into lexical blocks
Seen with GCC 10 DWARF: a type defined outside a lexical block can
refer to a type inside the block.
PiperOrigin-RevId: 572915076
Change-Id: Ia5f631ef67d9abde872b0649f2c7c64c5f8a4d61
-rw-r--r-- | dwarf_processor.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dwarf_processor.cc b/dwarf_processor.cc index 30548ec..2409904 100644 --- a/dwarf_processor.cc +++ b/dwarf_processor.cc @@ -350,6 +350,9 @@ class Processor { case DW_TAG_namespace: ProcessNamespace(entry); break; + case DW_TAG_lexical_block: + ProcessAllChildren(entry); + break; default: // TODO: die on unexpected tag, when this switch contains |