[llvm-bugs] [Bug 36122] New: Incorrect codegen flags initialization (LTO)

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jan 27 17:18:31 PST 2018


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

            Bug ID: 36122
           Summary: Incorrect codegen flags initialization (LTO)
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: ignacio.slipknot at gmail.com
                CC: llvm-bugs at lists.llvm.org

The function InitTargetOptionsFromCodeGenFlags which is called from LTO.cpp
should get its flags from somewhere else if invoked from linker, because things
like FunctionSections are false even if /Gy is passed to the compiler.

Not sure if it affects ELF linker too.

-- 
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/20180128/09063de2/attachment.html>


More information about the llvm-bugs mailing list