aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Object/COFF.h
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2012-03-19 20:27:15 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2012-03-19 20:27:15 +0000
commitb35a896e072ff46c38905419b7f55aaccdb1d702 (patch)
tree704310e3e3dab82ed34832f89af0823e27a51614 /include/llvm/Object/COFF.h
parent2d7ea04e2822bbe5faad0eefceb7a300ea01224e (diff)
downloadexternal_llvm-b35a896e072ff46c38905419b7f55aaccdb1d702.zip
external_llvm-b35a896e072ff46c38905419b7f55aaccdb1d702.tar.gz
external_llvm-b35a896e072ff46c38905419b7f55aaccdb1d702.tar.bz2
[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
Diffstat (limited to 'include/llvm/Object/COFF.h')
-rw-r--r--include/llvm/Object/COFF.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Object/COFF.h b/include/llvm/Object/COFF.h
index fc33ab1..f19ce6f 100644
--- a/include/llvm/Object/COFF.h
+++ b/include/llvm/Object/COFF.h
@@ -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();