projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2c6ff1
)
Add an accessor to get the underlying MachO representation.
author
Owen Anderson
<resistor@mac.com>
Mon, 17 Oct 2011 21:37:03 +0000
(21:37 +0000)
committer
Owen Anderson
<resistor@mac.com>
Mon, 17 Oct 2011 21:37:03 +0000
(21:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142261
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Object/MachO.h
patch
|
blob
|
history
diff --git
a/include/llvm/Object/MachO.h
b/include/llvm/Object/MachO.h
index dc1a64789313a4bc52dccfcf5ea2077463e95323..71830aa89b17dc0453985699fa43ac5a0fe5ddf5 100644
(file)
--- a/
include/llvm/Object/MachO.h
+++ b/
include/llvm/Object/MachO.h
@@
-38,6
+38,8
@@
public:
virtual StringRef getFileFormatName() const;
virtual unsigned getArch() const;
+ MachOObject *getObject() { return MachOObj; }
+
protected:
virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;