tejohnson added inline comments.
Comment at: cfe/trunk/lib/Driver/ToolChains/Clang.cpp:3270
+ if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ))
+Args.AddLastArg(CmdArgs, options::OPT_save_temps_EQ);
tejohnson wrote:
> bjope wrote:
> > A is
tejohnson added inline comments.
Comment at: cfe/trunk/lib/Driver/ToolChains/Clang.cpp:3270
+ if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ))
+Args.AddLastArg(CmdArgs, options::OPT_save_temps_EQ);
bjope wrote:
> A is not used, so this does
bjope added inline comments.
Comment at: cfe/trunk/lib/Driver/ToolChains/Clang.cpp:3270
+ if (const Arg *A = Args.getLastArg(options::OPT_save_temps_EQ))
+Args.AddLastArg(CmdArgs, options::OPT_save_temps_EQ);
A is not used, so this does not compile when
This revision was automatically updated to reflect the committed changes.
Closed by commit rL330194: [ThinLTO] Pass -save-temps to LTO backend for
distributed ThinLTO builds (authored by tejohnson, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
pcc accepted this revision.
pcc added a comment.
This revision is now accepted and ready to land.
LGTM
Repository:
rC Clang
https://reviews.llvm.org/D45217
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
tejohnson updated this revision to Diff 142669.
tejohnson marked 2 inline comments as done.
tejohnson added a comment.
Address comments
Repository:
rC Clang
https://reviews.llvm.org/D45217
Files:
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
tejohnson marked 2 inline comments as done.
tejohnson added inline comments.
Comment at: include/clang/Driver/Options.td:2255
HelpText<"Save intermediate compilation results.">;
-def save_temps : Flag<["-", "--"], "save-temps">, Flags<[DriverOption]>,
+def save_temps :
pcc added inline comments.
Comment at: include/clang/Driver/Options.td:2255
HelpText<"Save intermediate compilation results.">;
-def save_temps : Flag<["-", "--"], "save-temps">, Flags<[DriverOption]>,
+def save_temps : Flag<["-", "--"], "save-temps">, Flags<[CC1Option,
tejohnson updated this revision to Diff 142668.
tejohnson marked 2 inline comments as done.
tejohnson added a comment.
Addressed comments
Repository:
rC Clang
https://reviews.llvm.org/D45217
Files:
include/clang/Driver/Options.td
include/clang/Frontend/CodeGenOptions.h
tejohnson marked 2 inline comments as done.
tejohnson added inline comments.
Comment at: include/clang/Driver/Options.td:2255
HelpText<"Save intermediate compilation results.">;
-def save_temps : Flag<["-", "--"], "save-temps">, Flags<[DriverOption]>,
+def save_temps :
pcc added inline comments.
Comment at: include/clang/Driver/Options.td:2255
HelpText<"Save intermediate compilation results.">;
-def save_temps : Flag<["-", "--"], "save-temps">, Flags<[DriverOption]>,
+def save_temps : Flag<["-", "--"], "save-temps">, Flags<[CC1Option,
tejohnson added a comment.
ping
Repository:
rC Clang
https://reviews.llvm.org/D45217
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tejohnson created this revision.
tejohnson added a reviewer: pcc.
Herald added subscribers: eraman, inglorion, mehdi_amini.
The clang driver option -save-temps was not passed to the LTO config,
so when invoking the ThinLTO backends via clang during distributed
builds there was no way to get LTO
13 matches
Mail list logo