[llvm-dev] [LTO] Bypass the integrated assembler ...

Kevin Choi via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 9 09:24:21 PDT 2016


-Wl,--plugin=LLVMgold.so,--plugin-opt=emit-llvm

http://llvm.org/docs/CommandGuide/opt.html
http://llvm.org/docs/CommandGuide/llc.html

"The *llc* command compiles LLVM source inputs into assembly language for a
specified architecture."

On 9 August 2016 at 04:16, Umesh Kalappa via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi Guys ,
>
> We enabled the LTO on our code base and found that LTO uses the
> integrated/builtin assembler to emit the final optimized code .O
> (FileType= CGFT_ObjectFile) .
>
> Can we bypass this semantic ,for something like you emit .S  file
> (FileType=CGFT_AssemblyFile),
>
> Then we pass this  .S file to our native assembler and  the linker
> .....any switch/ options  do so ?
>
> i.e  something like as we have   "-no-integrated-as" for clang driver .
>
> Currently ,we thought of hacking the LTOCodeGenerator.cpp for the same .
>
> The bottom-line is that ,we need to use our native assembler ,not the
> builtin .
>
> Any thoughts on this ?
>
> We are trying on 3.6 and 3.8 versions.
>
> Thank you
> ~Umesh
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160809/618f6cbc/attachment.html>


More information about the llvm-dev mailing list