[Object/COFF]: Expose getSectionName.

Also add some documentation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153050 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer
2012-03-19 20:27:15 +00:00
parent 2d7ea04e28
commit b35a896e07
3 changed files with 32 additions and 19 deletions

View File

@ -177,6 +177,7 @@ public:
return ec;
}
error_code getSymbolName(const coff_symbol *symbol, StringRef &Res) const;
error_code getSectionName(const coff_section *Sec, StringRef &Res) const;
static inline bool classof(const Binary *v) {
return v->isCOFF();