[RuntimeDyld] Revert r211652 - MachO object GDB registration support.
authorLang Hames <lhames@gmail.com>
Tue, 15 Jul 2014 19:35:22 +0000 (19:35 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 15 Jul 2014 19:35:22 +0000 (19:35 +0000)
commit84bc818bafba41e44407389fceb2f0a96cb96678
tree6681cda469d4b8a09211f837c5d424fe0948126f
parent230660cf21fc1229073e035da803829f747dfcca
[RuntimeDyld] Revert r211652 - MachO object GDB registration support.

The registration scheme used in r211652 violated the read-only contract of
MemoryBuffer. This caused crashes in llvm-rtdyld where macho objects were backed
by read-only mmap'd memory.

llvm-svn: 213086
llvm/include/llvm/Object/MachO.h
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
llvm/lib/Object/MachOObjectFile.cpp