[llvm-dev] GlobalVariable to image base
Reid Kleckner via llvm-dev
llvm-dev at lists.llvm.org
Tue Sep 6 09:06:16 PDT 2016
I don't think there's an easy way for all platforms. Try __executable_start
for ELF, though.
On Sat, Sep 3, 2016 at 7:05 AM, BBLN via llvm-dev <llvm-dev at lists.llvm.org>
> For x86-win32 we got __ImageBase,
> Is there any *simple* way to create a GlobalVariable pointing to the image
> base on all platforms?
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev