aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfException.cpp
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
commita4ff5e48fc6a4718d3a2af8654cfc06a17310aed (patch)
treedc9ca5f8209b1041e24d7d94cd99b34ce2722bd6 /lib/CodeGen/AsmPrinter/DwarfException.cpp
parentff141c20627f58ffef390e04d40c9e4df820003e (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfException.cpp')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfException.cpp b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index b17b163c65..80da52f6bd 100644
--- a/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/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");