summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/generate-odr-hash.ll
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-11-04 22:12:25 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-11-04 22:12:25 +0000
commit3a443c29b9102ce728fc79acd76c731e5a0197f8 (patch)
treeacec38d8f594dfbbef35036b86900cfe5501d591 /llvm/test/DebugInfo/X86/generate-odr-hash.ll
parent9bfd7a9f43364bd8722179093328c803288bfd22 (diff)
downloadbcm5719-llvm-3a443c29b9102ce728fc79acd76c731e5a0197f8.tar.gz
bcm5719-llvm-3a443c29b9102ce728fc79acd76c731e5a0197f8.zip
Provide gmlt-like inline scope information in the skeleton CU to facilitate symbolication without needing the .dwo files
Clang -gsplit-dwarf self-host -O0, binary increases by 0.0005%, -O2, binary increases by 25%. A large binary inside Google, split-dwarf, -O0, and other internal flags (GDB index, etc) increases by 1.8%, optimized build is 35%. The size impact may be somewhat greater in .o files (I haven't measured that much - since the linked executable -O0 numbers seemed low enough) due to relocations. These relocations could be removed if we taught the llvm-symbolizer to handle indexed addressing in the .o file (GDB can't cope with this just yet, but GDB won't be reading this info anyway). Also debug_ranges could be shared between .o and .dwo, though ideally debug_ranges would get a schema that could used index(+offset) addressing, and move to the .dwo file, then we'd be back to sharing addresses in the address pool again. But for now, these sizes seem small enough to go ahead with this. Verified that no other DW_TAGs are produced into the .o file other than subprograms and inlined_subroutines. llvm-svn: 221306
Diffstat (limited to 'llvm/test/DebugInfo/X86/generate-odr-hash.ll')
-rw-r--r--llvm/test/DebugInfo/X86/generate-odr-hash.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/X86/generate-odr-hash.ll b/llvm/test/DebugInfo/X86/generate-odr-hash.ll
index 87914864bd8..e7a37ea8727 100644
--- a/llvm/test/DebugInfo/X86/generate-odr-hash.ll
+++ b/llvm/test/DebugInfo/X86/generate-odr-hash.ll
@@ -82,7 +82,8 @@
; CHECK-NOT: type_signature
; CHECK-LABEL: type_signature = 0x1d02f3be30cc5688
; CHECK: DW_TAG_structure_type
-; CHECK-NEXT: DW_AT_name{{.*}}"bar"
+; FISSION-NEXT: DW_AT_name {{.*}} ( indexed {{.*}} "bar"
+; SINGLE-NEXT: DW_AT_name {{.*}} "bar"
; Check that we generate a hash for fluffy and the value.
OpenPOWER on IntegriCloud