[PATCH] D30812: AsmPrinter: Don't treat symbols with prefix data as code

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 00:09:16 PDT 2017


pcc added a comment.

Is there any chance that you can create a standalone reproducer that demonstrates the problem? I don't think I understand why simply referencing a function via a jump would require the linker to create a veneer and use it as the function's address where its address is taken. Although a linker may create a veneer if a direct call is out of range or requires ARM/Thumb interworking, that doesn't mean that the veneer's address needs to be used when the function's address is taken, and indeed the veneer's address shouldn't be observable if all calls to the veneer are direct.


https://reviews.llvm.org/D30812





More information about the llvm-commits mailing list