diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2012-11-14 01:47:00 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2012-11-14 01:47:00 +0000 |
commit | e42af3699bf6d7d14efd6cb0bb976aa0588549a9 (patch) | |
tree | b7ae524110236f55066e63e245b75c893de88654 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | |
parent | 6c440b932ec4ee9c9d2aa0110f318e11ef554be3 (diff) | |
download | bcm5719-llvm-e42af3699bf6d7d14efd6cb0bb976aa0588549a9.tar.gz bcm5719-llvm-e42af3699bf6d7d14efd6cb0bb976aa0588549a9.zip |
Use TARGET2 relocation for TType references on ARM.
Do some cleanup of the code while here.
Inspired by patch by Logan Chien!
llvm-svn: 167904
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp index 08fb6b3f52c..0fab389ab7f 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp +++ b/llvm/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); |