diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-02 06:52:36 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-02 06:52:36 +0000 |
| commit | c784feba8e825a0eafc80f00fec8862e643a9e1a (patch) | |
| tree | 557394b3adfa32aaa0b933aa815eb2996d575427 /llvm/lib/CodeGen/AsmPrinter | |
| parent | bdde99bd426f630be526a71ba8f89cf1fe301e99 (diff) | |
| download | bcm5719-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.cpp | 4 |
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. |

