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)
commitc002981084fc63573b6538415461af1783e5dc55
tree44f2d1aeb24f9d895f50c9792503aa9a29a8d11b
parentb3a706870021df81ca678400746ed44d20b74f49
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.

llvm-svn: 209907
llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/lib/MC/MCObjectFileInfo.cpp
llvm/test/CodeGen/Mips/ehframe-indirect.ll [new file with mode: 0644]