summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-08 22:50:36 +0000
committerChris Lattner <sabre@nondot.org>2010-03-08 22:50:36 +0000
commit3c081995f6988339f5f0ab5045e205d2c03ce472 (patch)
tree0d8b72e8465315036485e0024ce540a7c34ba2b9 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
parentb779eb6a1da9e8eb37f38d33810559eb1de2aad6 (diff)
downloadbcm5719-llvm-3c081995f6988339f5f0ab5045e205d2c03ce472.tar.gz
bcm5719-llvm-3c081995f6988339f5f0ab5045e205d2c03ce472.zip
remove another form of EmitReference.
llvm-svn: 97998
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index 2a7a5bfc970..f854fc5939f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -236,7 +236,7 @@ void DwarfException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) {
EOL("FDE CIE offset");
- EmitReference("eh_func_begin", EHFrameInfo.Number, FDEEncoding);
+ EmitReference(getDWLabel("eh_func_begin", EHFrameInfo.Number), FDEEncoding);
EOL("FDE initial location");
EmitDifference("eh_func_end", EHFrameInfo.Number,
"eh_func_begin", EHFrameInfo.Number,
@@ -250,7 +250,7 @@ void DwarfException::EmitFDE(const FunctionEHFrameInfo &EHFrameInfo) {
EmitULEB128(Size, "Augmentation size");
if (EHFrameInfo.hasLandingPads)
- EmitReference("exception", EHFrameInfo.Number, LSDAEncoding);
+ EmitReference(getDWLabel("exception", EHFrameInfo.Number),LSDAEncoding);
else
Asm->OutStreamer.EmitIntValue(0, Size/*size*/, 0/*addrspace*/);
OpenPOWER on IntegriCloud