The ARM EH experiment worked!
authorBill Wendling <isanbard@gmail.com>
Tue, 9 Mar 2010 18:31:07 +0000 (18:31 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 9 Mar 2010 18:31:07 +0000 (18:31 +0000)
commitbdc38e5aa27bf57b4315b961a172e250bcb1bd69
tree7ecec24ea4370f4641950ff172566788ea155eba
parentad4f66c76fc7537e05b6bfb71f420c614875fb48
The ARM EH experiment worked!

Place the LSDA into the TEXT section for ARM platforms. This involves making the
encoding indirect, pcrel, and sdata4 instead of an absolute pointer. The
references to the type infos are then non-lazy pointers. Revision 98019 changed
the encoding of non-lazy pointers to add the symbol to the non-lazy pointer
definition if it's a local symbol (otherwise, it's external and set to '0' so
that the loader can adjust it to the real value). This paved the way for this
change to work on ARM.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98068 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMTargetObjectFile.cpp [new file with mode: 0644]
lib/Target/ARM/ARMTargetObjectFile.h
lib/Target/ARM/CMakeLists.txt