[PATCH] D118152: [clang][deps] Adapt test to be compatible when the assembler is called by default

Jake Egan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 09:58:00 PST 2022


Jake-Egan added inline comments.


================
Comment at: clang/test/ClangScanDeps/headerwithdirname.cpp:16
 
-// CHECK: headerwithdirname_input.o
+// CHECK: headerwithdirname_input{{.*}}{{.o|.s}}
 // CHECK-NEXT: headerwithdirname_input.cpp
----------------
jansvoboda11 wrote:
> Why is `{{.*}}` necessary?
It's to match the random characters between "input" and the file extension. The output on AIX looks like this:
`/tmp/headerwithdirname_input-ffd608.s: \`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118152/new/

https://reviews.llvm.org/D118152



More information about the cfe-commits mailing list