diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:43:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 20:43:12 +0000 |
commit | 5277b22687d3513dd29d5a9c8510cac740f933f6 (patch) | |
tree | 9e9e43f4b75db5fda4347245ebfac0fe152b1f27 /lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | 17421d81fdbc94dbd8b3549b095303baaf52e689 (diff) |
eliminate TargetLoweringObjectFileSparc in favor of a TAI hook.
A TAI hook is appropriate in this case because this is just an
asm syntax issue, not a semantic difference. TLOF should model
the semantics of the section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index a8cb465564..68cd4a49ab 100644 --- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -99,7 +99,7 @@ void AsmPrinter::SwitchToSection(const MCSection *NS) { // some magic assembler directive. if (!NS->isDirective()) { SmallString<32> FlagsStr; - getObjFileLowering().getSectionFlagsAsString(NS->getKind(), FlagsStr); + getObjFileLowering().getSectionFlagsAsString(NS->getKind(), FlagsStr, *TAI); O << TAI->getSwitchToSectionDirective() << CurrentSection->getName() << FlagsStr.c_str() << '\n'; |