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

            Bug ID: 46736
           Summary: LTO Example in LTO Docs Does not match Description
                    when Compiled
           Product: Documentation
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: General docs
          Assignee: unassignedb...@nondot.org
          Reporter: scott.d.consta...@intel.com
                CC: llvm-bugs@lists.llvm.org

The LTO example (https://www.llvm.org/docs/LinkTimeOptimization.html) is
accompanied by a description of the expected observations after LTO, which
includes as the third bullet point: "And this in turn, enables linker to remove
foo4()." However, foo4() will not be removed because main.c is not built with
-flto.

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

Reply via email to