[mips] Make TTypeEncoding indirect to allow .eh_frame to be read-only.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 2 Jun 2015 20:32:50 +0000 (20:32 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 2 Jun 2015 20:32:50 +0000 (20:32 +0000)
commit92a1dad6d10263e5ec8b1b77669273bf43b72b36
tree431cc714913ed3a1a11a0aecb1e94bd4c3e110c4
parent33d75a269c4d8193ff790b95f8246777bf0de159
[mips] Make TTypeEncoding indirect to allow .eh_frame to be read-only.

Summary:
Following on from r209907 which made personality encodings indirect, do the
same for TType encodings. This fixes the case where a try/catch block needs
to generate references to, for example, std::exception in the
.gcc_except_table.

Previous attempts at committing this broke the buildbots due to bugs in IAS.
These bugs have now been fixed so trying again.

Reviewers: petarj

Reviewed By: petarj

Subscribers: srhines, joerg, tberghammer, llvm-commits

Differential Revision: http://reviews.llvm.org/D9669

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238863 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectFileInfo.cpp
test/CodeGen/Mips/ehframe-indirect.ll