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

            Bug ID: 40348
           Summary: At least -mno-outline and -mllvm should be redirected
                    somehow to the linker when using LTO
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: mh+l...@glandium.org
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org

If you use `-mno-outline` along `-flto` with clang, the linker (which does the
actual compiling) is not instructed that it should disable the outliner.

Same if you use `-mllvm -enable-machine-outliner=never`.

Other flags, like -march=something are translated to linker plugin options when
used at link time. Some flags, when used at compile time, end up in the object
files and are used automatically at link time with LTO (-march does that too,
in fact).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to