diff options
author | Jason Molenda <jmolenda@apple.com> | 2012-10-06 02:02:26 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2012-10-06 02:02:26 +0000 |
commit | 53667f5da1056590c6db64bfbe2628e83115291e (patch) | |
tree | b1057cf2bd4f47849886a72f0b07d934b990caff /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | cc62f28735768c09b0c5effea183d0d7c9be6a4f (diff) | |
download | llvm-53667f5da1056590c6db64bfbe2628e83115291e.zip llvm-53667f5da1056590c6db64bfbe2628e83115291e.tar.gz llvm-53667f5da1056590c6db64bfbe2628e83115291e.tar.bz2 |
In DynamicLoaderDarwinKernel::OSKextLoadedKextSummary::LoadImageUsingMemoryModule(),
if we have a kernel binary, set the target's architecture to match.
Include the target's architecture in the ModuleSpec when we're searching for the
kext binaries on the local system -- otherwise we won't get a specific slice of
a fat file picked out for us and we won't use the returned Module correctly.
Remove the redundant attempt to find a file on the local filesystem from this method.
In ProcessGDBRemote::CheckForKernel(), if we have a kernel binary in memory, mark
the canJIT as false. There is no jitting code in kernel debug sessions.
llvm-svn: 165357
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions