summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-14 06:50:56 +0000
committerChris Lattner <sabre@nondot.org>2010-03-14 06:50:56 +0000
commit04857fab702832bfe60018ec106bdb599a1d031b (patch)
tree5c3739ac4804eb48622a9f2a5ac0d60555087114 /llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
parentb65a14802c93622994b7b083415b6033406e164f (diff)
downloadbcm5719-llvm-04857fab702832bfe60018ec106bdb599a1d031b.tar.gz
bcm5719-llvm-04857fab702832bfe60018ec106bdb599a1d031b.zip
fix a bug I introduced in r98459, causing some NNT failures.
llvm-svn: 98470
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index b5f7270ba5e..4a64202c478 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -810,7 +810,7 @@ void DwarfException::EmitExceptionTable() {
// number of 16-byte bundles. The first call site is counted relative to
// the start of the procedure fragment.
Asm->OutStreamer.AddComment("Region start");
- EmitSectionOffset(EHFuncBeginSym, EndLabel, true);
+ EmitSectionOffset(BeginLabel, EHFuncBeginSym, true, true);
Asm->OutStreamer.AddComment("Region length");
EmitDifference(EndLabel, BeginLabel, true);
OpenPOWER on IntegriCloud