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
commit5295484c40e908e2c95466508ead47c6eba6e8f0 (patch)
tree56a8e2cc179052945e1852718a69032669dec618 /include
parent2a7dd7d0637aa439195f82e7f2f4014a96ba93d1 (diff)
downloadexternal_llvm-5295484c40e908e2c95466508ead47c6eba6e8f0.zip
external_llvm-5295484c40e908e2c95466508ead47c6eba6e8f0.tar.gz
external_llvm-5295484c40e908e2c95466508ead47c6eba6e8f0.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;
};
}