summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-08 22:41:53 +0000
committerChris Lattner <sabre@nondot.org>2009-08-08 22:41:53 +0000
commit1cb9396f4f3d2cdf6bf25b12eec6867c65645e55 (patch)
tree181ae850501f5204ecdb055cc0368d26a30b0f53 /llvm/lib/Target/TargetAsmInfo.cpp
parent089b7de20dac7361b80f75e82961e053bdc5d7ff (diff)
downloadbcm5719-llvm-1cb9396f4f3d2cdf6bf25b12eec6867c65645e55.tar.gz
bcm5719-llvm-1cb9396f4f3d2cdf6bf25b12eec6867c65645e55.zip
1. Make MCSection an abstract class.
2. Move section switch printing to MCSection virtual method which takes a TAI. This eliminates textual formatting stuff from TLOF. 3. Eliminate SwitchToSectionDirective, getSectionFlagsAsString, and TLOFELF::AtIsCommentChar. llvm-svn: 78510
Diffstat (limited to 'llvm/lib/Target/TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetAsmInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp
index 5ec36b6d158..6ac54e0bf05 100644
--- a/llvm/lib/Target/TargetAsmInfo.cpp
+++ b/llvm/lib/Target/TargetAsmInfo.cpp
@@ -53,7 +53,6 @@ TargetAsmInfo::TargetAsmInfo() {
AlignDirective = "\t.align\t";
AlignmentIsInBytes = true;
TextAlignFillValue = 0;
- SwitchToSectionDirective = "\t.section\t";
JumpTableDirective = 0;
GlobalDirective = "\t.globl\t";
SetDirective = 0;
OpenPOWER on IntegriCloud