[clang] 2f99932 - [Driver][test] Add -fintegrated-as after D150282
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sun May 14 23:09:36 PDT 2023
Author: Fangrui Song
Date: 2023-05-14T23:09:31-07:00
New Revision: 2f999327534f7cc660d2747ce294f50184dc1f97
URL: https://github.com/llvm/llvm-project/commit/2f999327534f7cc660d2747ce294f50184dc1f97
DIFF: https://github.com/llvm/llvm-project/commit/2f999327534f7cc660d2747ce294f50184dc1f97.diff
LOG: [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.
Added:
Modified:
clang/test/Driver/ftime-trace.cpp
Removed:
################################################################################
diff --git a/clang/test/Driver/ftime-trace.cpp b/clang/test/Driver/ftime-trace.cpp
index ee577a85a79b..12f845035fe3 100644
--- a/clang/test/Driver/ftime-trace.cpp
+++ b/clang/test/Driver/ftime-trace.cpp
@@ -36,7 +36,8 @@
// RUN: mkdir d e f && cp %s d/a.cpp && touch d/b.c
-// RUN: %clang -### -c -ftime-trace -ftime-trace-granularity=0 d/a.cpp -o e/a.o 2>&1 | FileCheck %s --check-prefix=COMPILE1
+/// TODO: Support -fno-integrated-as.
+// 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
// COMPILE1: -cc1{{.*}} "-ftime-trace=e/a.json" "-ftime-trace-granularity=0"
// RUN: %clang -### -c -ftime-trace -ftime-trace-granularity=0 d/a.cpp d/b.c -dumpdir f/ 2>&1 | FileCheck %s --check-prefix=COMPILE2
More information about the cfe-commits
mailing list