diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-08 21:26:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-08 21:26:26 +0000 |
commit | 5418dd5fdaa218e6f83b289d0a7bbeaa908eddc1 (patch) | |
tree | e4b7466edc74fc90e1febcab62c776100ed6b6ce /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 75f82345c4a4411a1d59340def27a305959255e3 (diff) | |
download | bcm5719-llvm-5418dd5fdaa218e6f83b289d0a7bbeaa908eddc1.tar.gz bcm5719-llvm-5418dd5fdaa218e6f83b289d0a7bbeaa908eddc1.zip |
move elf section uniquing to MCContext. Along the way
merge XCore's section into MCSectionELF
llvm-svn: 100812
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 37687d24c23..63f865d40d3 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -705,7 +705,7 @@ bool AsmPrinter::doFinalization(Module &M) { // to be executable. Some targets have a directive to declare this. Function *InitTrampolineIntrinsic = M.getFunction("llvm.init.trampoline"); if (!InitTrampolineIntrinsic || InitTrampolineIntrinsic->use_empty()) - if (MCSection *S = MAI->getNonexecutableStackSection(OutContext)) + if (const MCSection *S = MAI->getNonexecutableStackSection(OutContext)) OutStreamer.SwitchSection(S); // Allow the target to emit any magic that it wants at the end of the file, |