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

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 31 10:34:01 PDT 2019


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

Eli Friedman <efriedma at quicinc.com> changed:

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

--- Comment #7 from Eli Friedman <efriedma at quicinc.com> ---
Inline asm inside a function is represented as a special sort of call; see
http://llvm.org/docs/LangRef.html#inline-assembler-expressions .

Inline asm outside a function is represented as an opaque string; see
http://llvm.org/docs/LangRef.html#module-level-inline-assembly .

It's technically possible to convert a ".s" file to module-level inline asm,
but it wouldn't be useful for any normal workflow, and it might break assembly
that isn't written to expect that sort of embedding.

-- 
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/20190731/eac79180/attachment-0001.html>


More information about the llvm-bugs mailing list