[llvm-bugs] [Bug 26670] New: Erroneous code emission on OSX when jump across sections.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 18 18:04:41 PST 2016


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

            Bug ID: 26670
           Summary: Erroneous code emission on OSX when jump across
                    sections.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: deadalnix at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

So I've been trying to do some cold code splitting by emitting cold BB in their
own section. llc asm output goes as follow :

http://reviews.llvm.org/P1806

Note that some basic bloc is emitted in its own section.

This specific example works on linux, but it doesn't on OSX.

Object file emitted on linux: http://reviews.llvm.org/P1811
Object file emitted on OSX: http://reviews.llvm.org/P1813
Executable dump on OSX: http://reviews.llvm.org/P1812

It looks like there is a bug in something low level on the OSX side.

-- 
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/20160219/220871f7/attachment-0001.html>


More information about the llvm-bugs mailing list