[PATCH] Link jumptable attributes consistently with unnamed_addr
Tom Roeder
tmroeder at google.com
Wed Nov 26 13:34:03 PST 2014
This patch changes the module linker to not unset unnamed_addr on merged functions that have the jumptable attribute. As the test case demonstrates, this can happen with a declaration that has no jumptable attribute and no unnamed_addr when it is linked with a defined function that has both.
http://reviews.llvm.org/D6425
Files:
lib/Linker/LinkModules.cpp
test/Linker/jumptable-a.ll
test/Linker/jumptable-b.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6425.16662.patch
Type: text/x-patch
Size: 1159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141126/9568b11d/attachment.bin>
More information about the llvm-commits
mailing list