Skip to content

Commit ea8ab49

Browse files
committed
[test] debug-info-correlate.ll requires an ELF target triple
The test only applies to ELF. On Linux, when a default target triple is, say, Mach-O, the test should be excluded as well.
1 parent cfc1a87 commit ea8ab49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: FileCheck < %t.ll --implicit-check-not "{{__llvm_prf_data|__llvm_prf_names}}" %s
33
; RUN: %llc_dwarf -O0 -filetype=obj < %t.ll | llvm-dwarfdump - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s --check-prefix CHECK-DWARF
44

5-
; REQUIRES: system-linux, object-emission
5+
; REQUIRES: target={{.*-linux.*}}, object-emission
66

77
@__profn_foo = private constant [3 x i8] c"foo"
88
; CHECK: @__profc_foo =

0 commit comments

Comments
 (0)