diff options
author | Jason Molenda <jmolenda@apple.com> | 2012-09-29 08:03:33 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2012-09-29 08:03:33 +0000 |
commit | d1fae144ba649e48d90b2b8337e294cae2fd7100 (patch) | |
tree | d3bc56538a363ee2b1f0975709c133e66e5ea0c0 /llvm/lib/CodeGen/MachineLoopInfo.cpp | |
parent | 5f9791fd2f0beabf4b54de8bc54dbaaa3093869f (diff) | |
download | bcm5719-llvm-d1fae144ba649e48d90b2b8337e294cae2fd7100.tar.gz bcm5719-llvm-d1fae144ba649e48d90b2b8337e294cae2fd7100.zip |
Add the RelocateOrLoadKernel and LoadKernel methods to ProcessGDBRemote::DoRemoteConnect().
When attaching to a remote system that does not look like a typical vendor system, and no
executable binary was specified to lldb, check a couple of fixed locations where kernels
running in ASLR mode (slid in memory to a random address) store their load addr when booted
in debug mode, and relocate the symbols or load the kernel wholesale from the host computer
if we can find it.
<rdar://problem/7714201>
llvm-svn: 164888
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions