[llvm-bugs] [Bug 42831] clang drops the -flto=full when compiling an assembler file

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 30 14:18:37 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42831

Eli Friedman <efriedma at quicinc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #5 from Eli Friedman <efriedma at quicinc.com> ---
Okay, that's clear.

There is no support for converting an assembler file to LLVM IR.  And there is
no plan to implement that.  It would be complex to implement, and it's not
clearly useful.

The way LTO generally works with LLVM is that the input is some mix of LLVM IR
files and native object files.  The LTO process converts the IR to one or more
native object files, then everything is linked as native object files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190730/068880b4/attachment.html>


More information about the llvm-bugs mailing list