summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-09-13 22:09:01 +0000
committerAdrian Prantl <aprantl@apple.com>2017-09-13 22:09:01 +0000
commit3ae35eb56b11ec27bc2fcba6aeeebaf7615bd6c8 (patch)
tree30a8d11fd6248bf149c269f3225d86f1904c417c /llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll
parentafe2bdd773455bb8728e969c3fced914c1bf6d2c (diff)
downloadbcm5719-llvm-3ae35eb56b11ec27bc2fcba6aeeebaf7615bd6c8.tar.gz
bcm5719-llvm-3ae35eb56b11ec27bc2fcba6aeeebaf7615bd6c8.zip
llvm-dwarfdump: automatically dump both regular and .dwo variant of sections
Since users typically don't really care about the .dwo / non.dwo distinction, this patch makes it so dwarfdump --debug-<info,...> dumps .debug_info and (if available) also .debug_info.dwo. This simplifies the command line interface (I've removed all dwo-specific dump options) and makes the tool friendlier to use. Differential Revision: https://reviews.llvm.org/D37771 llvm-svn: 313207
Diffstat (limited to 'llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll')
-rw-r--r--llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll b/llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll
index 688ef8376c8..e4d8a296315 100644
--- a/llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll
+++ b/llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll
@@ -3,8 +3,10 @@
; RUN: %llc_dwarf -split-dwarf-file=bar.dwo %s -filetype=obj -o %t/b.o
; RUN: llvm-dwarfdump -debug-info %t/a.o %t/b.o | FileCheck %s
+; CHECK: .debug_info contents:
; CHECK: dwo_id {{.*}}([[HASH:.*]])
; CHECK-NOT: dwo_id {{.*}}([[HASH]])
+; CHECK: .debug_info.dwo contents:
target triple = "x86_64-pc-linux"
OpenPOWER on IntegriCloud