aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-26 06:16:11 +0000
committerChris Lattner <sabre@nondot.org>2009-07-26 06:16:11 +0000
commitf15327290e624472a7565ac5d022767a78912ab6 (patch)
tree56a8e2cc179052945e1852718a69032669dec618 /include
parent8ca520944e1924f487561be5cd8369da0a53d8ae (diff)
downloadexternal_llvm-f15327290e624472a7565ac5d022767a78912ab6.zip
external_llvm-f15327290e624472a7565ac5d022767a78912ab6.tar.gz
external_llvm-f15327290e624472a7565ac5d022767a78912ab6.tar.bz2
precreate 4/8/16 byte mergable sections to simplify code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/ELFTargetAsmInfo.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/include/llvm/Target/ELFTargetAsmInfo.h b/include/llvm/Target/ELFTargetAsmInfo.h
index c5d94ba..9d31faa 100644
--- a/include/llvm/Target/ELFTargetAsmInfo.h
+++ b/include/llvm/Target/ELFTargetAsmInfo.h
@@ -43,13 +43,17 @@ namespace llvm {
SectionKind Kind) const;
virtual std::string printSectionFlags(unsigned flags) const;
- const Section* DataRelSection;
- const Section* DataRelLocalSection;
- const Section* DataRelROSection;
- const Section* DataRelROLocalSection;
-
+ const Section *DataRelSection;
+ const Section *DataRelLocalSection;
+ const Section *DataRelROSection;
+ const Section *DataRelROLocalSection;
+
+ const Section *MergableConst4Section;
+ const Section *MergableConst8Section;
+ const Section *MergableConst16Section;
+
private:
- const Section* MergeableStringSection(const GlobalVariable *GV) const;
+ const Section *MergeableStringSection(const GlobalVariable *GV) const;
};
}