[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
This commit is contained in:
Lang Hames
2014-06-25 00:20:53 +00:00
parent 49b52b35d4
commit 7ede4b96de
4 changed files with 133 additions and 12 deletions

View File

@@ -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;