summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-04-09 09:11:40 +0000
committerPavel Labath <labath@google.com>2018-04-09 09:11:40 +0000
commitb1b2f4055663f39ba0d2198771bee4e8899d1f7a (patch)
tree1cc1411b2051e883d37b7dffc9c9fc6ea3e76806
parent6081dbc5fc4dc550ca28680d524d5da6610ccbfc (diff)
downloadbcm5719-llvm-b1b2f4055663f39ba0d2198771bee4e8899d1f7a.tar.gz
bcm5719-llvm-b1b2f4055663f39ba0d2198771bee4e8899d1f7a.zip
Make the test case from r329552 more portable
- when tuning for SCE debugger (default for ps4 targets), we will not emit the DW_AT_linkage_name, which this test needs. I explicitly set the debugger tuning parameter to get the attribute always. - darwin targets did not like the "section .text.startup" fragment of the test. This is not actually needed for the test, so I remove it. llvm-svn: 329555
-rw-r--r--llvm/test/DebugInfo/Generic/debug-names-empty-name.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll b/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll
index 188d40ec242..bdee5432bea 100644
--- a/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll
+++ b/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll
@@ -1,5 +1,5 @@
; REQUIRES: object-emission
-; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s
+; RUN: %llc_dwarf -debugger-tune=lldb -accel-tables=Dwarf -filetype=obj -o %t < %s
; RUN: llvm-dwarfdump -find=_GLOBAL__sub_I__ %t | FileCheck --check-prefix=INFO %s
; RUN: llvm-dwarfdump -debug-names %t | FileCheck --check-prefix=NAMES %s
; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s
@@ -18,7 +18,7 @@
; Verification should succeed.
; VERIFY: No errors.
-define internal void @_GLOBAL__sub_I__() section ".text.startup" !dbg !7 {
+define internal void @_GLOBAL__sub_I__() !dbg !7 {
entry:
ret void
}
OpenPOWER on IntegriCloud