diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-09 22:37:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-11-09 22:37:44 +0000 |
commit | e61a1ac595deddd291912930efac3616f7c61d08 (patch) | |
tree | 0d5dfad24ceef8eec98dce7c616dc2b1dc8acf55 /include/llvm | |
parent | 3a2429a86c50a89c3321c741b85fa7d1fe668b38 (diff) | |
download | external_llvm-e61a1ac595deddd291912930efac3616f7c61d08.zip external_llvm-e61a1ac595deddd291912930efac3616f7c61d08.tar.gz external_llvm-e61a1ac595deddd291912930efac3616f7c61d08.tar.bz2 |
Remove IsExplicit. It was always false.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/MC/MCContext.h | 1 | ||||
-rw-r--r-- | include/llvm/MC/MCSectionELF.h | 11 |
2 files changed, 2 insertions, 10 deletions
diff --git a/include/llvm/MC/MCContext.h b/include/llvm/MC/MCContext.h index 5ddbdae..d3b38360 100644 --- a/include/llvm/MC/MCContext.h +++ b/include/llvm/MC/MCContext.h @@ -140,7 +140,6 @@ namespace llvm { const MCSection *getELFSection(StringRef Section, unsigned Type, unsigned Flags, SectionKind Kind, - bool IsExplicit = false, unsigned EntrySize = 0); const MCSection *getCOFFSection(StringRef Section, unsigned Characteristics, diff --git a/include/llvm/MC/MCSectionELF.h b/include/llvm/MC/MCSectionELF.h index 0e4a286..bf07b99 100644 --- a/include/llvm/MC/MCSectionELF.h +++ b/include/llvm/MC/MCSectionELF.h @@ -32,10 +32,6 @@ class MCSectionELF : public MCSection { /// below. unsigned Flags; - /// IsExplicit - Indicates that this section comes from globals with an - /// explicit section specified. - bool IsExplicit; - /// EntrySize - The size of each entry in this section. This size only /// makes sense for sections that contain fixed-sized entries. If a /// section does not contain fixed-sized entries 'EntrySize' will be 0. @@ -44,9 +40,9 @@ class MCSectionELF : public MCSection { private: friend class MCContext; MCSectionELF(StringRef Section, unsigned type, unsigned flags, - SectionKind K, bool isExplicit, unsigned entrySize) + SectionKind K, unsigned entrySize) : MCSection(SV_ELF, K), SectionName(Section), Type(type), Flags(flags), - IsExplicit(isExplicit), EntrySize(entrySize) {} + EntrySize(entrySize) {} ~MCSectionELF(); public: @@ -54,9 +50,6 @@ public: /// should be printed before the section name bool ShouldOmitSectionDirective(StringRef Name, const MCAsmInfo &MAI) const; - /// ShouldPrintSectionType - Only prints the section type if supported - bool ShouldPrintSectionType(unsigned Ty) const; - /// HasCommonSymbols - True if this section holds common symbols, this is /// indicated on the ELF object file by a symbol with SHN_COMMON section /// header index. |