Doesn't -no-integrated-as already do this?<span></span><br><br>On Wednesday, December 4, 2013, David Peixotto  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Please help to review this patch.<br>
<br>
This commit adds the flag '-via-file-asm' to the clang driver. The<br>
purpose of this flag is to have a way to test that clang can consume<br>
the assembly code that it outputs. When passed this flag, clang will<br>
generate a temporary file that contains the assembly output from the<br>
compile step. This assembly file will then be consumed by either the<br>
integrated assembler or the external assembler. To test that the<br>
integrated assembler can consume its own output compile with:<br>
<br>
  $ clang -integrated-assembler -via-file-asm<br>
<br>
Without the '-via-file-asm' flag, clang would directly create the<br>
object file when using the integrated assembler. With the flag it<br>
will first create the temporary assembly file and then read that<br>
file and assemble it with the integrated assembler.<br>
<br>
The flow is similar to -save-temps, except that it only effects<br>
the assembly input and the temporary file is not saved.<br>
<br>
<br>
<br>
-- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted<br>
by The Linux Foundation<br>
<br>
<br>
<br>
</blockquote>