[PATCH] D20217: Add direct control of whether or not a symbol is preemtable at runtime

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 05:32:51 PDT 2016


On 15 May 2016 at 00:27, Mehdi AMINI <mehdi.amini at apple.com> wrote:
> joker.eph added a comment.
>
> Can you confirm that this attribute would apply to declaration as well? So that we would generate direct accesses and not go through the GOT/PLT? Even for symbol defined in different module from their uses?

Correct. The idea is to have full flexibility. We con generate direct
or indirect access to any GV.

I like the idea of making this an absolute flag. I will try to
implement that as soon as possible. I wonder if it should also be a
single flag in the .ll.

During the weekend I added a few more cases to codegen. I will upload
the current work in progress in a second.

Cheers,
Rafael


More information about the llvm-commits mailing list