summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-17 20:53:51 +0000
committerChris Lattner <sabre@nondot.org>2009-07-17 20:53:51 +0000
commite03a866b34137df8b9374901e82ad2f7c1a31b6a (patch)
treeb23fd865a73ca1d48f9313a3bab2d65d46ed46f3
parent510fdfd92e3632977d1b25297d6ba4da5710b5a7 (diff)
downloadbcm5719-llvm-e03a866b34137df8b9374901e82ad2f7c1a31b6a.tar.gz
bcm5719-llvm-e03a866b34137df8b9374901e82ad2f7c1a31b6a.zip
these two pieces of code are the same because we always
emit the EHFrame label next to the section_eh_frame and eh_frame_common labels. llvm-svn: 76234
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
index b17b163c655..80da52f6bdc 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -194,18 +194,9 @@ void DwarfException::EmitEHFrame(const FunctionEHFrameInfo &EHFrameInfo) {
EmitLabel("eh_frame_begin", EHFrameInfo.Number);
- if (!TAI->is_EHSymbolPrivate()) {
-// FIXME: HOW ARE THESE TWO ARMS DIFFERENT?? EH_frame vs eh_frame_common?
- PrintRelDirective(true, true);
- PrintLabelName("eh_frame_begin", EHFrameInfo.Number);
-
- if (!TAI->isAbsoluteEHSectionOffsets())
- O << "-EH_frame" << EHFrameInfo.PersonalityIndex;
- } else {
- EmitSectionOffset("eh_frame_begin", "eh_frame_common",
- EHFrameInfo.Number, EHFrameInfo.PersonalityIndex,
- true, true, false);
- }
+ EmitSectionOffset("eh_frame_begin", "eh_frame_common",
+ EHFrameInfo.Number, EHFrameInfo.PersonalityIndex,
+ true, true, false);
Asm->EOL("FDE CIE offset");
OpenPOWER on IntegriCloud