From: Michael J. Spencer Date: Mon, 17 Oct 2011 23:37:43 +0000 (+0000) Subject: 80-col. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2c10ecbe4c800bd8a2e1b3e05c4eedf75658b565;p=oota-llvm.git 80-col. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142309 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Object/ObjectFile.h b/include/llvm/Object/ObjectFile.h index ca8df597521..a0be264fe7c 100644 --- a/include/llvm/Object/ObjectFile.h +++ b/include/llvm/Object/ObjectFile.h @@ -229,10 +229,12 @@ protected: virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const =0; virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const =0; virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const = 0; + virtual error_code getSymbolType(DataRefImpl Symb, + SymbolRef::Type &Res) const = 0; virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const = 0; virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const = 0; virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const = 0; - virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::Type &Res) const = 0; + // Same as above for SectionRef. friend class SectionRef;