<div dir="ltr">-Wl,--plugin=LLVMgold.so,--<wbr>plugin-opt=emit-llvm<br><br><a href="http://llvm.org/docs/CommandGuide/opt.html" target="_blank">http://llvm.org/docs/<wbr>CommandGuide/opt.html</a><br><a href="http://llvm.org/docs/CommandGuide/llc.html" target="_blank">http://llvm.org/docs/<wbr>CommandGuide/llc.html</a><br><br>"The <strong class="">llc</strong> command compiles LLVM source inputs into assembly language
for a specified architecture."</div><div class="gmail_extra"><br><div class="gmail_quote">On 9 August 2016 at 04:16, Umesh Kalappa via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Guys ,<br>
<br>
We enabled the LTO on our code base and found that LTO uses the<br>
integrated/builtin assembler to emit the final optimized code .O<br>
(FileType= CGFT_ObjectFile) .<br>
<br>
Can we bypass this semantic ,for something like you emit .S  file<br>
(FileType=CGFT_AssemblyFile),<br>
<br>
Then we pass this  .S file to our native assembler and  the linker<br>
.....any switch/ options  do so ?<br>
<br>
i.e  something like as we have   "-no-integrated-as" for clang driver .<br>
<br>
Currently ,we thought of hacking the LTOCodeGenerator.cpp for the same .<br>
<br>
The bottom-line is that ,we need to use our native assembler ,not the builtin .<br>
<br>
Any thoughts on this ?<br>
<br>
We are trying on 3.6 and 3.8 versions.<br>
<br>
Thank you<br>
~Umesh<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>