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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to