[ThinLTO] Work around buggy FileCheck pattern; NFC
authorBryan Chan <bryan.chan@huawei.com>
Tue, 22 Mar 2022 12:36:42 +0000 (08:36 -0400)
committerBryan Chan <bryan.chan@huawei.com>
Tue, 22 Mar 2022 12:40:10 +0000 (08:40 -0400)
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.

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

index 5bed8ca..277c92f 100644 (file)
@@ -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