diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h index 2fb896eed97..3ad60b05b6f 100644 --- a/include/llvm/Object/COFF.h +++ b/include/llvm/Object/COFF.h @@ -275,8 +275,6 @@ struct coff_symbol_generic { support::ulittle32_t Value; }; -struct coff_aux_section_definition; - class COFFSymbolRef { public: COFFSymbolRef() = default; @@ -348,18 +346,6 @@ public: return (getType() & 0xF0) >> COFF::SCT_COMPLEX_TYPE_SHIFT; } - template const T *getAux() const { - return CS16 ? reinterpret_cast(CS16 + 1) - : reinterpret_cast(CS32 + 1); - } - - const coff_aux_section_definition *getSectionDefinition() const { - if (!getNumberOfAuxSymbols() || - getStorageClass() != COFF::IMAGE_SYM_CLASS_STATIC) - return nullptr; - return getAux(); - } - bool isAbsolute() const { return getSectionNumber() == -1; }