[llvm] 5269dd7 - [ThinLTO] Work around buggy FileCheck pattern; NFC

Bryan Chan via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 05:40:18 PDT 2022


Author: Bryan Chan
Date: 2022-03-22T08:40:10-04:00
New Revision: 5269dd7f4877d4836dd7231580fa7809be90ae7a

URL: https://github.com/llvm/llvm-project/commit/5269dd7f4877d4836dd7231580fa7809be90ae7a
DIFF: https://github.com/llvm/llvm-project/commit/5269dd7f4877d4836dd7231580fa7809be90ae7a.diff

LOG: [ThinLTO] Work around buggy FileCheck pattern; NFC

Update the FileCheck patterns in a test case to prevent a path name
containing the `@` character from causing it to fail unnecessarily,
e.g. during a Jenkins CI job.

Added: 
    

Modified: 
    llvm/test/tools/gold/X86/thinlto_weak_resolution.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll b/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll
index 5bed8ca37c4c6..277c92f1eecae 100644
--- a/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll
+++ b/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll
@@ -17,6 +17,7 @@
 ; set linkage of odr functions to available_externally, and convert
 ; linkonce and weak to declarations).
 ; RUN: llvm-dis %t2.o.4.opt.bc -o - | FileCheck --check-prefix=OPT2 %s
+; OPT2: target triple =
 ; OPT2-NOT: @
 
 ; RUN: llvm-dis %t.o.3.import.bc -o - | FileCheck --check-prefix=IMPORT %s


        


More information about the llvm-commits mailing list