From 7ede4b96ded381fd054d9c006a4a66c1f69b5e42 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 25 Jun 2014 00:20:53 +0000 Subject: [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 --- include/llvm/Object/MachO.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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 SectionList; + typedef SmallVector SectionList; SectionList Sections; - typedef SmallVector LibraryList; + typedef SmallVector LibraryList; LibraryList Libraries; typedef SmallVector LibraryShortName; LibraryShortName LibrariesShortNames; -- cgit v1.2.3