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

            Bug ID: 31484
           Summary: Emit @object instead of @function when using prefix
                    data
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedb...@nondot.org
          Reporter: demioben...@gmail.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

There is no good reason to emit symbols with type @function when prefix data is
being emitted: the linker will redirect pointers to such symbols through a
trampoline, and the trampoline does not have the prefix data next to it.

This is one of the reasons that GHC needs a mangler that post-processes
LLVM-generated assembly.

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

Reply via email to