[llvm-bugs] [Bug 31484] New: Emit @object instead of @function when using prefix data
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Dec 27 16:39:19 PST 2016
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: unassignedbugs at nondot.org
Reporter: demiobenour at gmail.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161228/eb7428a5/attachment.html>
More information about the llvm-bugs
mailing list