[PATCH] D29475: [LTO] Add ability to emit assembly to new LTO API
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 3 07:45:16 PST 2017
Tobias Edler von Koch via Phabricator via llvm-commits
<llvm-commits at lists.llvm.org> writes:
> tobiasvk added a comment.
> In https://reviews.llvm.org/D29475#665358, @davide wrote:
>> ehm, we already have `-save-temps`, why do you need this? (see what the `gold-plugin` and `lld` do)
> It saves intermediate bitcode files (which is useful) but our customers also want to see assembly just like in the non-LTO flow.
You should probably change the library implementation of save temps to
save the .s. Using an external assembler is an odd way to do a
"save-temps" as the result might not match.
More information about the llvm-commits