From 5295484c40e908e2c95466508ead47c6eba6e8f0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 26 Jul 2009 06:16:11 +0000 Subject: 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 --- include/llvm/Target/ELFTargetAsmInfo.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'include') 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; }; } -- cgit v1.1