diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 22:41:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 22:41:53 +0000 |
commit | 892e18239308f8a02a4c83758616be84a459c19d (patch) | |
tree | 84b7cceebedea3e4afd191e06686054be73baf22 /include/llvm/Target/TargetAsmInfo.h | |
parent | 0aac30195c8f3f7066d4d069693e5d91f054f081 (diff) | |
download | external_llvm-892e18239308f8a02a4c83758616be84a459c19d.tar.gz external_llvm-892e18239308f8a02a4c83758616be84a459c19d.tar.bz2 external_llvm-892e18239308f8a02a4c83758616be84a459c19d.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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetAsmInfo.h')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 92b977154b..aa39c90c5a 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -182,11 +182,6 @@ namespace llvm { //===--- Section Switching Directives ---------------------------------===// - /// SwitchToSectionDirective - This is the directive used when we want to - /// emit a global to an arbitrary section. The section name is emited after - /// this. - const char *SwitchToSectionDirective; // Defaults to "\t.section\t" - /// JumpTableDirective - if non-null, the directive to emit before a jump /// table. const char *JumpTableDirective; @@ -432,9 +427,6 @@ namespace llvm { unsigned getTextAlignFillValue() const { return TextAlignFillValue; } - const char *getSwitchToSectionDirective() const { - return SwitchToSectionDirective; - } const char *getGlobalDirective() const { return GlobalDirective; } |