summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2018-11-06 00:16:32 +0000
committerJustin Bogner <mail@justinbogner.com>2018-11-06 00:16:32 +0000
commitd05345304c7dc2507d9521791d1e0dc98287d719 (patch)
tree2706860e912ba5901525a60dcb94eed574c00dc0
parent7ab3a66a8cfab55106854a1a9b49483ada505ec5 (diff)
downloadbcm5719-llvm-d05345304c7dc2507d9521791d1e0dc98287d719.tar.gz
bcm5719-llvm-d05345304c7dc2507d9521791d1e0dc98287d719.zip
Specify REQUIRES: default_triple in two debuginfo tests
These were failing when specifying LLVM_DEFAULT_TARGET_TRIPLE='' llvm-svn: 346185
-rw-r--r--llvm/test/DebugInfo/cross-cu-scope.ll1
-rw-r--r--llvm/test/DebugInfo/debuglineinfo-path.ll3
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/cross-cu-scope.ll b/llvm/test/DebugInfo/cross-cu-scope.ll
index dffd44885f0..7f663349e37 100644
--- a/llvm/test/DebugInfo/cross-cu-scope.ll
+++ b/llvm/test/DebugInfo/cross-cu-scope.ll
@@ -1,5 +1,6 @@
; RUN: %llc_dwarf %s -filetype=obj -o %t
; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s
+; REQUIRES: default_triple
; Reduced test case from PR35212. Two DISubprogram belong to a different CU but
; share a scope. Both are declarations and end up in the scope's CU. We want to
diff --git a/llvm/test/DebugInfo/debuglineinfo-path.ll b/llvm/test/DebugInfo/debuglineinfo-path.ll
index d92e1facad1..88dd4824798 100644
--- a/llvm/test/DebugInfo/debuglineinfo-path.ll
+++ b/llvm/test/DebugInfo/debuglineinfo-path.ll
@@ -1,5 +1,6 @@
; Make sure that absolute source dir is detected correctly regardless of the platform.
-; REQUIRES: object-emission
+; REQUIRES: object-emission, default_triple
+
; On powerpc llvm-nm describes win_func as a global variable, not a function. It breaks the test.
; It is not essential to DWARF path handling code we're testing here.
; UNSUPPORTED: powerpc
OpenPOWER on IntegriCloud