Skip to content

Commit 2f99932

Browse files
committed
[Driver][test] Add -fintegrated-as after D150282
D150282 does not add support for derived trace file names with -fno-integrated-as, e.g. `clang -c -fno-integrated-as a.c -o e/a.o`. Add -fintegrated-as to fix AIX.
1 parent 25dc215 commit 2f99932

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/test/Driver/ftime-trace.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636

3737
// RUN: mkdir d e f && cp %s d/a.cpp && touch d/b.c
3838

39-
// RUN: %clang -### -c -ftime-trace -ftime-trace-granularity=0 d/a.cpp -o e/a.o 2>&1 | FileCheck %s --check-prefix=COMPILE1
39+
/// TODO: Support -fno-integrated-as.
40+
// RUN: %clang -### -c -ftime-trace -ftime-trace-granularity=0 -fintegrated-as d/a.cpp -o e/a.o 2>&1 | FileCheck %s --check-prefix=COMPILE1
4041
// COMPILE1: -cc1{{.*}} "-ftime-trace=e/a.json" "-ftime-trace-granularity=0"
4142

4243
// RUN: %clang -### -c -ftime-trace -ftime-trace-granularity=0 d/a.cpp d/b.c -dumpdir f/ 2>&1 | FileCheck %s --check-prefix=COMPILE2

0 commit comments

Comments
 (0)