diff options
author | Lang Hames <lhames@gmail.com> | 2014-06-25 00:20:53 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-06-25 00:20:53 +0000 |
commit | 7ede4b96ded381fd054d9c006a4a66c1f69b5e42 (patch) | |
tree | fa706e908f38d34cf0ecdfef8663b1bc9c530973 /include | |
parent | 49b52b35d411a4cc28eb83bdc440a9839bb5bc17 (diff) | |
download | llvm-7ede4b96ded381fd054d9c006a4a66c1f69b5e42.tar.gz llvm-7ede4b96ded381fd054d9c006a4a66c1f69b5e42.tar.bz2 llvm-7ede4b96ded381fd054d9c006a4a66c1f69b5e42.tar.xz |
[RuntimeDyld] Adds the necessary hooks to MCJIT to be able to debug generated
MachO files using the GDB JIT debugging interface.
Patch by Keno Fischer. Thanks Keno!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211652 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Object/MachO.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Object/MachO.h b/include/llvm/Object/MachO.h index 8b7f904c57..69a1e2d3fc 100644 --- a/include/llvm/Object/MachO.h +++ b/include/llvm/Object/MachO.h @@ -228,10 +228,12 @@ public: return v->isMachO(); } + const char *getSectionPointer(DataRefImpl Rel) const; + private: - typedef SmallVector<const char*, 1> SectionList; + typedef SmallVector<const char *, 1> SectionList; SectionList Sections; - typedef SmallVector<const char*, 1> LibraryList; + typedef SmallVector<const char *, 1> LibraryList; LibraryList Libraries; typedef SmallVector<StringRef, 1> LibraryShortName; LibraryShortName LibrariesShortNames; |