[LLVMbugs] [Bug 19512] New: globalopt can introduce a use of the GOT
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 22 14:02:40 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=19512
Bug ID: 19512
Summary: globalopt can introduce a use of the GOT
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Interprocedural Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Running globalopt in
@foo = hidden alias void ()* @bar
define void @bar() {
ret void
}
define void @zed() {
call void @foo()
ret void
}
will convert the call into a direct call to bar, which requires a got if
producing PIC code.
--
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/20140422/17ef8db6/attachment.html>
More information about the llvm-bugs
mailing list