[PATCH] Implement function prefix data as an IR feature.

Reid Kleckner rnk at google.com
Mon Jul 29 10:39:04 PDT 2013


On Mon, Jul 29, 2013 at 5:44 AM, Duncan Sands <duncan.sands at gmail.com>wrote:

> Hi Peter,
>
> On 26/07/13 22:57, Peter Collingbourne wrote:
>
>> Ping?
>>
>
> I think requiring the prefix data to start with a bunch of machine specific
> magic bytes is really horrible.  Why can't codegen insert the magic code
> sequence automatically?  I don't think this patch should go in as it is.
>

The user will have to know the size of the magic code sequence somehow.
 Also, they might not want it, if they always adjust symbols with bitcast
and GEP when computing the address of a function.

What if Peter implemented symbol_offset first, and then committed this,
with the intention that they be used together?
http://lists.cs.uiuc.edu/pipermail/llvmdev/2013-April/061511.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130729/9b773896/attachment.html>


More information about the llvm-commits mailing list