aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuliano Procida <gprocida@google.com>2024-01-11 18:28:10 +0000
committerGiuliano Procida <gprocida@google.com>2024-02-09 12:54:51 +0000
commitfacdc82cb9df597ab09d66c0e0aeb58a10862f25 (patch)
tree8d5d9f7d99f4c808100720568628b6878bb21124
parent303bf32a4debec83938353eac2fb48f419d3e54e (diff)
downloadstg-facdc82cb9df597ab09d66c0e0aeb58a10862f25.tar.gz
DWARF processor: always pass full type name to type definition filter check
The name is currently only used for diagnostics and for checking for rare built-in types when the declaration file attribute is missing. The rare built-in types are always at global scope so this is a no-op. PiperOrigin-RevId: 597592357 Change-Id: I3efc48d6ce76da5d1e409762deff6b1c7453ef3a
-rw-r--r--dwarf_processor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwarf_processor.cc b/dwarf_processor.cc
index 4904604..4291638 100644
--- a/dwarf_processor.cc
+++ b/dwarf_processor.cc
@@ -554,7 +554,7 @@ class Processor {
}
if (entry.GetFlag(DW_AT_declaration) ||
- !ShouldKeepDefinition(entry, type_name)) {
+ !ShouldKeepDefinition(entry, full_name)) {
// Declaration may have partial information about members or method.
// We only need to parse children for information that will be needed in
// complete definition, but don't need to store them in incomplete node.