aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2012-11-14 01:47:00 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2012-11-14 01:47:00 +0000
commit25efd6d556718295a63d37f5294985746af354f6 (patch)
tree7e9486e6b819be1ee7738610b3a051696814fc95 /lib/CodeGen/AsmPrinter/DwarfException.cpp
parent78e786b58f6fcdd57201b292f45e0b719c1490e7 (diff)
downloadexternal_llvm-25efd6d556718295a63d37f5294985746af354f6.zip
external_llvm-25efd6d556718295a63d37f5294985746af354f6.tar.gz
external_llvm-25efd6d556718295a63d37f5294985746af354f6.tar.bz2
Use TARGET2 relocation for TType references on ARM.
Do some cleanup of the code while here. Inspired by patch by Logan Chien! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 08fb6b3..0fab389 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -685,7 +685,7 @@ void DwarfException::EmitExceptionTable() {
if (VerboseAsm)
Asm->OutStreamer.AddComment("TypeInfo " + Twine(Entry--));
if (GV)
- Asm->EmitReference(GV, TTypeEncoding);
+ Asm->EmitTTypeReference(GV, TTypeEncoding);
else
Asm->OutStreamer.EmitIntValue(0,Asm->GetSizeOfEncodedValue(TTypeEncoding),
0);