[llvm-commits] [llvm] r142309 - /llvm/trunk/include/llvm/Object/ObjectFile.h
Michael J. Spencer
bigcheesegs at gmail.com
Mon Oct 17 16:37:43 PDT 2011
Author: mspencer
Date: Mon Oct 17 18:37:43 2011
New Revision: 142309
URL: http://llvm.org/viewvc/llvm-project?rev=142309&view=rev
Log:
80-col.
Modified:
llvm/trunk/include/llvm/Object/ObjectFile.h
Modified: llvm/trunk/include/llvm/Object/ObjectFile.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Object/ObjectFile.h?rev=142309&r1=142308&r2=142309&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Object/ObjectFile.h (original)
+++ llvm/trunk/include/llvm/Object/ObjectFile.h Mon Oct 17 18:37:43 2011
@@ -229,10 +229,12 @@
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;
More information about the llvm-commits
mailing list