[PATCH] D27629: Fix unwind info relocation with large code model on AArch64

Yichao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 18:28:14 PST 2017


yuyichao added a comment.

> (i.e. can both llvm and gnu libunwind handle DW_EH_PE_sdata8)

Local testing seems fine. Not sure what other tests I can do.

> perhaps it should be applied for other 64-bit architectures with large code models that permit text segment sizes > 4Gb.

I was a little surprised to learn that it is not the case..... I'm not at all familiar with other archs or what relocations they needs or how to test those so I'd rather not doing that in this PR....

> My is that the Jit makes it more likely that code and exceptions may be placed more than 32-bits apart

Exactly. I only hit this issue with JIT. I assume this isn't a problem for GCC (or any static compilers in general)....


https://reviews.llvm.org/D27629





More information about the llvm-commits mailing list