aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
diff options
context:
space:
mode:
authorDavid Peixotto <dpeixott@codeaurora.org>2013-12-06 20:27:33 +0000
committerDavid Peixotto <dpeixott@codeaurora.org>2013-12-06 20:27:33 +0000
commit3e325d7490a0a0645a147db98a107d41f65270fd (patch)
tree84bcf120364065b885017ec8569424318917e898 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
parent71140d68f8f4ac2eb714af2de776eb1682bc4e29 (diff)
downloadllvm-3e325d7490a0a0645a147db98a107d41f65270fd.zip
llvm-3e325d7490a0a0645a147db98a107d41f65270fd.tar.gz
llvm-3e325d7490a0a0645a147db98a107d41f65270fd.tar.bz2
Add option to use temporary file for assembling with clang
This commit adds the flag '-via-file-asm' to the clang driver. The purpose of this flag is to have a way to test that clang can consume the assembly code that it outputs. When passed this flag, clang will generate a temporary file that contains the assembly output from the compile step. This assembly file will then be consumed by either the integrated assembler or the external assembler. To test that the integrated assembler can consume its own output compile with: $ clang -integrated-assembler -via-file-asm Without the '-via-file-asm' flag, clang would directly create the object file when using the integrated assembler. With the flag it will first create the temporary assembly file and then read that file and assemble it with the integrated assembler. The flow is similar to -save-temps, except that it only effects the assembly input and the temporary file is not saved. llvm-svn: 196606
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp')
0 files changed, 0 insertions, 0 deletions