summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-02 06:52:36 +0000
committerChris Lattner <sabre@nondot.org>2009-08-02 06:52:36 +0000
commitc784feba8e825a0eafc80f00fec8862e643a9e1a (patch)
tree557394b3adfa32aaa0b933aa815eb2996d575427 /llvm/lib/CodeGen/AsmPrinter
parentbdde99bd426f630be526a71ba8f89cf1fe301e99 (diff)
downloadbcm5719-llvm-c784feba8e825a0eafc80f00fec8862e643a9e1a.tar.gz
bcm5719-llvm-c784feba8e825a0eafc80f00fec8862e643a9e1a.zip
convert EHFrameSection to be managed by TLOF instead of TAI.
llvm-svn: 77888
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-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 aa52d87f278..fec1ad75573 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfException.cpp
@@ -56,7 +56,7 @@ void DwarfException::EmitCommonEHFrame(const Function *Personality,
TD->getPointerSize() : -TD->getPointerSize();
// Begin eh frame section.
- Asm->SwitchToTextSection(TAI->getDwarfEHFrameSection());
+ Asm->SwitchToSection(Asm->getObjFileLowering().getEHFrameSection());
if (TAI->is_EHSymbolPrivate())
O << TAI->getPrivateGlobalPrefix();
@@ -150,7 +150,7 @@ void DwarfException::EmitEHFrame(const FunctionEHFrameInfo &EHFrameInfo) {
const Function *TheFunc = EHFrameInfo.function;
- Asm->SwitchToTextSection(TAI->getDwarfEHFrameSection());
+ Asm->SwitchToSection(Asm->getObjFileLowering().getEHFrameSection());
// Externally visible entry into the functions eh frame info. If the
// corresponding function is static, this should not be externally visible.
OpenPOWER on IntegriCloud