summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 20:43:12 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 20:43:12 +0000
commitc9ea8fddb258a847ddd76df0a8b6676b219d99d2 (patch)
treea462303342eaf927fe9018af8b52e27464301f14 /llvm/lib/CodeGen/AsmPrinter
parentdc6bccbaa6bcd79d661d66f4e76fdc74be3939df (diff)
downloadbcm5719-llvm-c9ea8fddb258a847ddd76df0a8b6676b219d99d2.tar.gz
bcm5719-llvm-c9ea8fddb258a847ddd76df0a8b6676b219d99d2.zip
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. llvm-svn: 78498
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
index a8cb465564b..68cd4a49ab6 100644
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
+++ b/llvm/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';
OpenPOWER on IntegriCloud