diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-09 18:48:29 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-03-09 18:48:29 +0000 |
| commit | 028f8b43e2f3a2c0917a1ec0b0d867fa68022d99 (patch) | |
| tree | fcc5ad588ec7740b93d269832b1c45a3c99c1e6b /llvm | |
| parent | dae7189c816a7a687dc76beb6282c24e2232df6e (diff) | |
| download | bcm5719-llvm-028f8b43e2f3a2c0917a1ec0b0d867fa68022d99.tar.gz bcm5719-llvm-028f8b43e2f3a2c0917a1ec0b0d867fa68022d99.zip | |
Delete dead code. NFC.
llvm-svn: 231682
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/MC/MCSection.h | 1 | ||||
| -rw-r--r-- | llvm/include/llvm/MC/MCSectionCOFF.h | 3 | ||||
| -rw-r--r-- | llvm/include/llvm/MC/MCSectionELF.h | 5 | ||||
| -rw-r--r-- | llvm/include/llvm/MC/MCSectionMachO.h | 4 | ||||
| -rw-r--r-- | llvm/lib/Target/NVPTX/NVPTXSection.h | 1 |
5 files changed, 0 insertions, 14 deletions
diff --git a/llvm/include/llvm/MC/MCSection.h b/llvm/include/llvm/MC/MCSection.h index 8aec9c82e32..935fe921670 100644 --- a/llvm/include/llvm/MC/MCSection.h +++ b/llvm/include/llvm/MC/MCSection.h @@ -55,7 +55,6 @@ namespace llvm { // Convenience routines to get label names for the beginning/end of a // section. virtual std::string getLabelBeginName() const = 0; - virtual std::string getLabelEndName() const = 0; /// isBaseAddressKnownZero - Return true if we know that this section will /// get a base address of zero. In cases where we know that this is true we diff --git a/llvm/include/llvm/MC/MCSectionCOFF.h b/llvm/include/llvm/MC/MCSectionCOFF.h index 0bbf3696686..6914f2e7768 100644 --- a/llvm/include/llvm/MC/MCSectionCOFF.h +++ b/llvm/include/llvm/MC/MCSectionCOFF.h @@ -63,9 +63,6 @@ class MCSymbol; std::string getLabelBeginName() const override { return SectionName.str() + "_begin"; } - std::string getLabelEndName() const override { - return SectionName.str() + "_end"; - } unsigned getCharacteristics() const { return Characteristics; } MCSymbol *getCOMDATSymbol() const { return COMDATSymbol; } int getSelection() const { return Selection; } diff --git a/llvm/include/llvm/MC/MCSectionELF.h b/llvm/include/llvm/MC/MCSectionELF.h index 6d864b4a45b..a50e542fd85 100644 --- a/llvm/include/llvm/MC/MCSectionELF.h +++ b/llvm/include/llvm/MC/MCSectionELF.h @@ -70,11 +70,6 @@ public: return (SectionName.str() + '_' + Group->getName() + "_begin").str(); return SectionName.str() + "_begin"; } - std::string getLabelEndName() const override { - if (Group) - return (SectionName.str() + '_' + Group->getName() + "_end").str(); - return SectionName.str() + "_end"; - } unsigned getType() const { return Type; } unsigned getFlags() const { return Flags; } unsigned getEntrySize() const { return EntrySize; } diff --git a/llvm/include/llvm/MC/MCSectionMachO.h b/llvm/include/llvm/MC/MCSectionMachO.h index a5a2089a297..725106c766c 100644 --- a/llvm/include/llvm/MC/MCSectionMachO.h +++ b/llvm/include/llvm/MC/MCSectionMachO.h @@ -57,10 +57,6 @@ public: return StringRef(getSegmentName().str() + getSectionName().str() + "_begin"); } - std::string getLabelEndName() const override { - return StringRef(getSegmentName().str() + getSectionName().str() + "_end"); - } - unsigned getTypeAndAttributes() const { return TypeAndAttributes; } unsigned getStubSize() const { return Reserved2; } diff --git a/llvm/lib/Target/NVPTX/NVPTXSection.h b/llvm/lib/Target/NVPTX/NVPTXSection.h index f1d3cb4da51..8bc6336ff73 100644 --- a/llvm/lib/Target/NVPTX/NVPTXSection.h +++ b/llvm/lib/Target/NVPTX/NVPTXSection.h @@ -40,7 +40,6 @@ public: bool UseCodeAlign() const override { return false; } bool isVirtualSection() const override { return false; } std::string getLabelBeginName() const override { return ""; } - std::string getLabelEndName() const override { return ""; } }; } // end namespace llvm |

