[llvm-bugs] [Bug 46736] New: LTO Example in LTO Docs Does not match Description when Compiled

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 15 09:50:16 PDT 2020


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: unassignedbugs at nondot.org
          Reporter: scott.d.constable at intel.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200715/2664d8a9/attachment.html>


More information about the llvm-bugs mailing list