[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)
commit58d03b3e08209bfda60d5575d3bdd91b8f325d85
tree4b84dfae53e9c3a71b8c64f2255bc5257da7411a
parentd9ebc5991be6fcbaf8231039d7403ff663005fe9
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213086 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/MachO.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
lib/Object/MachOObjectFile.cpp