[PATCH] Prologue support

Stephen Checkoway s at pahtak.org
Fri Nov 28 18:36:27 PST 2014


On Nov 28, 2014, at 10:20 AM, Ben Gamari <bgamari at gmail.com> wrote:

> Here we redefine the notion of prefix data to instead be data which
> occurs immediately before the function entrypoint (i.e. the symbol
> address). Since prefix data now occurs before the function entrypoint,
> there is no need for the data to be valid code.

I seem to recall that when prefix data was being discussed previously, it came up that putting data before the symbol wouldn't work for OS X because of .subsections_via_symbols (or maybe some other reason). Peter may remember the details better.

-- 
Stephen Checkoway









More information about the llvm-commits mailing list