[llvm] 2e0a3c2 - [DebugInfo] Correct an overly-restrictive REQUIRES clause. (#116429)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 18 23:10:40 PST 2024


Author: Carlos Alberto Enciso
Date: 2024-11-19T07:10:36Z
New Revision: 2e0a3c281b31eeffb1c12b53360f22760e246af2

URL: https://github.com/llvm/llvm-project/commit/2e0a3c281b31eeffb1c12b53360f22760e246af2
DIFF: https://github.com/llvm/llvm-project/commit/2e0a3c281b31eeffb1c12b53360f22760e246af2.diff

LOG: [DebugInfo] Correct an overly-restrictive REQUIRES clause. (#116429)

Include a regular expression in the 'REQUIRES' clause, to run
the test on all matching targets (x86_64 *linux*).

The original patch restricted to test just to 'x86_64-linux'
https://github.com/llvm/llvm-project/pull/116327

Added: 
    

Modified: 
    llvm/test/DebugInfo/Generic/artificial-static-member.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/Generic/artificial-static-member.ll b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
index 5c247d6959bf7b..08f15a226a87cf 100644
--- a/llvm/test/DebugInfo/Generic/artificial-static-member.ll
+++ b/llvm/test/DebugInfo/Generic/artificial-static-member.ll
@@ -1,4 +1,4 @@
-; REQUIRES: x86_64-linux
+; REQUIRES: target={{x86_64-.*-linux.*}}
 ; RUN: llc -O0 -filetype=obj < %s |   \
 ; RUN: llvm-dwarfdump --debug-info - | FileCheck %s
 


        


More information about the llvm-commits mailing list