Skip to content

Commit 06efe3d

Browse files
committed
format
1 parent 432c557 commit 06efe3d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8012,17 +8012,17 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
80128012

80138013
if (const Arg *A =
80148014
Args.getLastArg(options::OPT_forder_file_instrumentation)) {
8015-
D.Diag(diag::warn_drv_deprecated_arg)
8016-
<< A->getAsString(Args) << /*hasReplacement=*/true
8017-
<< "-mllvm -pgo-temporal-instrumentation";
8018-
CmdArgs.push_back("-forder-file-instrumentation");
8019-
// Enable order file instrumentation when ThinLTO is not on. When ThinLTO is
8020-
// on, we need to pass these flags as linker flags and that will be handled
8021-
// outside of the compiler.
8022-
if (!IsUsingLTO) {
8023-
CmdArgs.push_back("-mllvm");
8024-
CmdArgs.push_back("-enable-order-file-instrumentation");
8025-
}
8015+
D.Diag(diag::warn_drv_deprecated_arg)
8016+
<< A->getAsString(Args) << /*hasReplacement=*/true
8017+
<< "-mllvm -pgo-temporal-instrumentation";
8018+
CmdArgs.push_back("-forder-file-instrumentation");
8019+
// Enable order file instrumentation when ThinLTO is not on. When ThinLTO is
8020+
// on, we need to pass these flags as linker flags and that will be handled
8021+
// outside of the compiler.
8022+
if (!IsUsingLTO) {
8023+
CmdArgs.push_back("-mllvm");
8024+
CmdArgs.push_back("-enable-order-file-instrumentation");
8025+
}
80268026
}
80278027

80288028
if (Arg *A = Args.getLastArg(options::OPT_fforce_enable_int128,

0 commit comments

Comments
 (0)