Fix MIPS exception personality encoding.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Fri, 30 May 2014 16:48:56 +0000 (16:48 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Fri, 30 May 2014 16:48:56 +0000 (16:48 +0000)
commit731d23ed42db0f876f0c9b2a3985637ef4ec8384
treee08fa24608817b6b422f7d2c2b96e650cd3634c7
parentba735134d73c8df1aa2bb4f47cda962cc27e5e7f
Fix MIPS exception personality encoding.

For MIPS, we have to encode the personality routine with
an indirect pointer to absptr; otherwise, some link warning
warning will be raised, and the program might crash in some
early MIPS Android device.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209907 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/MC/MCObjectFileInfo.cpp
test/CodeGen/Mips/ehframe-indirect.ll [new file with mode: 0644]