aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-11-13 18:30:06 +0000
committerGreg Clayton <gclayton@apple.com>2014-11-13 18:30:06 +0000
commitbf702ceed17bd3bc7da3ed60e3249dd687aaf214 (patch)
treec200731e2e38268b85a7888d135d9928e0b26a0c /llvm/lib/Object/MachOObjectFile.cpp
parent14418e0409fcb8b3f5b8dcd31fd5bc532af02d20 (diff)
downloadllvm-bf702ceed17bd3bc7da3ed60e3249dd687aaf214.zip
llvm-bf702ceed17bd3bc7da3ed60e3249dd687aaf214.tar.gz
llvm-bf702ceed17bd3bc7da3ed60e3249dd687aaf214.tar.bz2
Fixed "SBTarget SBDebugger::CreateTarget (const char *filename)" to use the same semantics as other SBDebugger::CreateTarget() functions.
The issues were: - If you called this function with any arch other than the default target architecture, creating the target would fail because the Target::GetDefaultArchitecture() would not match the single architecture in the file specified. This caused running the test suite remotely with lldb-platform to fail many many tests due to the bad target. - It would specify the currently selected platform which might not work for the specified platform All other SBDebugger::CreateTarget calls do not assume an architecture or platform and if they aren't specified, they don't auto select the wrong one for you. With this fix, SBTarget SBDebugger::CreateTarget (const char *filename) now behaves like the other SBDebugger::CreateTarget() variants. llvm-svn: 221908
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions