It's inefficient to have place the exception tables (which contain the LSDA)
authorBill Wendling <isanbard@gmail.com>
Fri, 18 Sep 2009 21:14:36 +0000 (21:14 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 18 Sep 2009 21:14:36 +0000 (21:14 +0000)
commit296ab7e5445f0402d0aae3814c38f964d6f547fb
treefd057fa26ae18da3a708fec29f684670c68601bc
parentfb2e752e4175920d0531f2afc93a23d0cdf4db14
It's inefficient to have place the exception tables (which contain the LSDA)
into the __DATA section. At launch time, dyld has to update most of the section
to fix up the type info pointers. It's better to place it into the __TEXT
section and use pc-rel indirect pointer encodings. Similar to the personality
routine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82274 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfException.cpp
lib/Target/TargetLoweringObjectFile.cpp