When -fno-integrated-as is in effect (the default on AIX) the cc1 job produces a .s file instead. This patch adapts the test to accept .s or .o files.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/ClangScanDeps/headerwithdirname.cpp | ||
---|---|---|
16 | Why is {{.*}} necessary? |
clang/test/ClangScanDeps/headerwithdirname.cpp | ||
---|---|---|
16 | It's to match the random characters between "input" and the file extension. The output on AIX looks like this: |
clang/test/ClangScanDeps/headerwithdirname.cpp | ||
---|---|---|
16 | To be clear, this isn't AIX specific behaviour. We get the temp assembly file when -fno-integrated-as is on. Maybe slightly more accurate is, // CHECK: headerwithdirname_input{{\.o|.*\.s}} |
Why is {{.*}} necessary?