diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2011-07-20 05:58:47 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-20 05:58:47 +0000 |
| commit | 76792992d66dc45c34fb28943c45a47a38d25c40 (patch) | |
| tree | 061e869d07677a7eb47a1b76d37232c5286975f5 /llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | |
| parent | 638b355a16adb909e0fbcfe3f382d9efd175df7f (diff) | |
| download | bcm5719-llvm-76792992d66dc45c34fb28943c45a47a38d25c40.tar.gz bcm5719-llvm-76792992d66dc45c34fb28943c45a47a38d25c40.zip | |
Add MCObjectFileInfo and sink the MCSections initialization code from
TargetLoweringObjectFileImpl down to MCObjectFileInfo.
TargetAsmInfo is done to one last method. It's *almost* gone!
llvm-svn: 135569
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp index d165be30d50..8ed4f4c43a7 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp @@ -77,7 +77,8 @@ void DwarfCFIException::EndModule() { // This is a temporary hack to keep sections in the same order they // were before. This lets us produce bit identical outputs while // transitioning to CFI. - Asm->OutStreamer.SwitchSection(TLOF.getEHFrameSection()); + Asm->OutStreamer.SwitchSection( + const_cast<TargetLoweringObjectFile&>(TLOF).getEHFrameSection()); } } |

