[LLVMbugs] [Bug 22557] New: non-pic switch table prevents dead code stripping
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Feb 11 21:42:04 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22557
Bug ID: 22557
Summary: non-pic switch table prevents dead code stripping
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: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 13850
--> http://llvm.org/bugs/attachment.cgi?id=13850&action=edit
testcase
In the attached testcase the jump tables of both f and g go to .rodata. If one
of the functions is kept, .rodata is kept which causes the other function to be
kept.
The tables should be output in two different sections.
--
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/20150212/07f39f34/attachment.html>
More information about the llvm-bugs
mailing list