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: unassignedb...@nondot.org
          Reporter: ignacio.slipk...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to