[llvm] ea8ab49 - [test] debug-info-correlate.ll requires an ELF target triple
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 11 15:18:37 PDT 2023
Author: Fangrui Song
Date: 2023-09-11T15:18:32-07:00
New Revision: ea8ab49166b3ad99c489eb1ebadad12ef6804129
URL: https://github.com/llvm/llvm-project/commit/ea8ab49166b3ad99c489eb1ebadad12ef6804129
DIFF: https://github.com/llvm/llvm-project/commit/ea8ab49166b3ad99c489eb1ebadad12ef6804129.diff
LOG: [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.
Added:
Modified:
llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll
Removed:
################################################################################
diff --git a/llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll b/llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll
index 6ab7f055602cb2b..fd868ead5b78d21 100644
--- a/llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll
+++ b/llvm/test/Instrumentation/InstrProfiling/debug-info-correlate.ll
@@ -2,7 +2,7 @@
; RUN: FileCheck < %t.ll --implicit-check-not "{{__llvm_prf_data|__llvm_prf_names}}" %s
; RUN: %llc_dwarf -O0 -filetype=obj < %t.ll | llvm-dwarfdump - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s --check-prefix CHECK-DWARF
-; REQUIRES: system-linux, object-emission
+; REQUIRES: target={{.*-linux.*}}, object-emission
@__profn_foo = private constant [3 x i8] c"foo"
; CHECK: @__profc_foo =
More information about the llvm-commits
mailing list