[llvm-bugs] [Bug 32057] New: Commit "[LTO] Add support for optimization remarks." breaks release_40

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 24 04:27:41 PST 2017


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

            Bug ID: 32057
           Summary: Commit "[LTO] Add support for optimization remarks."
                    breaks release_40
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: benni.buch at gmail.com
                CC: llvm-bugs at lists.llvm.org

I found a breaking commit in LLD branch release_40:

https://github.com/llvm-mirror/lld/commit/96a4fea2899f2b2c005fef6f50b72099fdfd0031#diff-f7f293cffb9660909a93d85a4f53405e


File ELF/LTO.cpp Line 85 & 86:

+  // Set up optimization remarks if we've been asked to.
+  Conf.RemarksFilename = Config->OptRemarksFilename;
+  Conf.RemarksWithHotness = Config->OptRemarksWithHotness; 


The fields Conf.RemarksFilename and Conf.RemarksWithHotness don't exist in llvm
branch release_40 corresponding file:

https://github.com/llvm-mirror/llvm/blob/7e4360079c8a8212bf7a4e24916a91a601d5e46f/include/llvm/LTO/Config.h

-- 
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/20170224/0e0cd632/attachment.html>


More information about the llvm-bugs mailing list