[mips] Make TTypeEncoding indirect to allow .eh_frame to be read-only.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 28 May 2015 14:52:15 +0000 (14:52 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Thu, 28 May 2015 14:52:15 +0000 (14:52 +0000)
commit8bf191d139d7a92176d0696927b1921bcb68035d
treed3741f17a0634e8f31b14c7b722837fab70cc2d1
parenta703f676f7354bea263bd17aed493f5977d488a0
[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.

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@238427 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCObjectFileInfo.cpp
test/CodeGen/Mips/ehframe-indirect.ll