aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuliano Procida <gprocida@google.com>2023-10-12 16:35:19 +0100
committerGiuliano Procida <gprocida@google.com>2023-10-31 17:07:36 +0000
commitf81d809dc3618746fc97de5e2046447eceb04f7e (patch)
tree892e7509187e4d587b02464b0feca7390b772499
parent2f5c60487db9b61c01952502a859c7c8a12c59d6 (diff)
downloadstg-f81d809dc3618746fc97de5e2046447eceb04f7e.tar.gz
DWARF processor: accept struct-local imported declarations and modules
They are still ignored for the purposes of ABI extraction. PiperOrigin-RevId: 572915482 Change-Id: I797194e1528033e6be4bc216dd5138e91c440297
-rw-r--r--dwarf_processor.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/dwarf_processor.cc b/dwarf_processor.cc
index 2409904..1b55f5b 100644
--- a/dwarf_processor.cc
+++ b/dwarf_processor.cc
@@ -512,6 +512,12 @@ class Processor {
case DW_TAG_variable:
Process(child);
break;
+ case DW_TAG_imported_declaration:
+ case DW_TAG_imported_module:
+ // For now information there is useless for ABI monitoring, but we
+ // need to check that there is no missing information in descendants.
+ CheckNoChildren(child);
+ break;
case DW_TAG_template_type_parameter:
case DW_TAG_template_value_parameter:
case DW_TAG_GNU_template_template_param: