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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs