[llvm] r346185 - Specify REQUIRES: default_triple in two debuginfo tests
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 5 16:16:32 PST 2018
Author: bogner
Date: Mon Nov 5 16:16:32 2018
New Revision: 346185
URL: http://llvm.org/viewvc/llvm-project?rev=346185&view=rev
Log:
Specify REQUIRES: default_triple in two debuginfo tests
These were failing when specifying LLVM_DEFAULT_TARGET_TRIPLE=''
Modified:
llvm/trunk/test/DebugInfo/cross-cu-scope.ll
llvm/trunk/test/DebugInfo/debuglineinfo-path.ll
Modified: llvm/trunk/test/DebugInfo/cross-cu-scope.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/cross-cu-scope.ll?rev=346185&r1=346184&r2=346185&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/cross-cu-scope.ll (original)
+++ llvm/trunk/test/DebugInfo/cross-cu-scope.ll Mon Nov 5 16:16:32 2018
@@ -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
Modified: llvm/trunk/test/DebugInfo/debuglineinfo-path.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/debuglineinfo-path.ll?rev=346185&r1=346184&r2=346185&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/debuglineinfo-path.ll (original)
+++ llvm/trunk/test/DebugInfo/debuglineinfo-path.ll Mon Nov 5 16:16:32 2018
@@ -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
More information about the llvm-commits
mailing list