summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Generic/debug-label-inline.ll
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@mips.com>2018-10-08 22:10:34 +0000
committerPetar Jovanovic <petar.jovanovic@mips.com>2018-10-08 22:10:34 +0000
commite2877ad3b9a30ffdc2e7de48abdb90b9d22cab8f (patch)
treee1020c237abf79d0001638a07216a96329d646cc /llvm/test/DebugInfo/Generic/debug-label-inline.ll
parent47fd01516321d2dbe1f59b492e429ff757f5b315 (diff)
downloadbcm5719-llvm-e2877ad3b9a30ffdc2e7de48abdb90b9d22cab8f.tar.gz
bcm5719-llvm-e2877ad3b9a30ffdc2e7de48abdb90b9d22cab8f.zip
[DebugInfo] Fix debug information label tests
Remove the space in the asm check so that the expression is more general and can also capture MIPS labels which can be surrounded by braces, e.g.: .4byte ($tmp1) # DW_AT_low_pc Also change optimization level to O0 because the DW_TAG_label does not appear on MIPS when -O2 is used. Patch by Milos Stojanovic. Differential Revision: https://reviews.llvm.org/D52901 llvm-svn: 343999
Diffstat (limited to 'llvm/test/DebugInfo/Generic/debug-label-inline.ll')
-rw-r--r--llvm/test/DebugInfo/Generic/debug-label-inline.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/Generic/debug-label-inline.ll b/llvm/test/DebugInfo/Generic/debug-label-inline.ll
index c121d676a5c..426ce79b435 100644
--- a/llvm/test/DebugInfo/Generic/debug-label-inline.ll
+++ b/llvm/test/DebugInfo/Generic/debug-label-inline.ll
@@ -1,4 +1,4 @@
-; RUN: llc -O2 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s
+; RUN: llc -O0 -filetype=obj -o - %s | llvm-dwarfdump -v - | FileCheck %s
;
; CHECK: .debug_info contents:
; CHECK: [[LABEL_ORIGIN:0x[0-9a-zA-Z]+]]:{{ *}}DW_TAG_label
OpenPOWER on IntegriCloud