[cfe-dev] [llvm-dev] How to debug if LTO generate wrong code?
Joerg Sonnenberger via cfe-dev
cfe-dev at lists.llvm.org
Sun May 29 17:27:15 PDT 2016
On Mon, May 30, 2016 at 12:10:09AM +0000, Shi, Steven via cfe-dev wrote:
> I'm a bit surprised if both OS X ld64 and gold plugin do not support
> large code model in LTO. Since modern system widely use the 64bit, the
> code need to run in high address (larger than 2 GB) is a reasonable requirement.
Actually, given that PIC is (almost) free in terms of codegen, there is
rarely a need for the large model on AMD64. Programs with more than 2GB
of static data are moderately rare and programs with more than 2GB of
text even more so.
Joerg
More information about the cfe-dev
mailing list