OSDN Git Service

Fix SBDebugger::CreateTargetWithFileAndArch to accept LLDB_ARCH_DEFAULT.
authorJim Ingham <jingham@apple.com>
Thu, 21 Jan 2021 20:32:07 +0000 (12:32 -0800)
committerJim Ingham <jingham@apple.com>
Mon, 25 Jan 2021 20:53:37 +0000 (12:53 -0800)
commitf05dc40c31d1883b46b8bb60547087db2f4c03e3
tree98d45da2881d85e3f9f1b102a4855c07ed40597a
parent0f0462cacf34aa88ae71a13c4199c1b1e70f3ee6
Fix SBDebugger::CreateTargetWithFileAndArch to accept LLDB_ARCH_DEFAULT.

The API docs in SBDebugger.i claim this should work but it doesn't.  This
should fix it.

Differential Revision: https://reviews.llvm.org/D95164
lldb/source/API/SBDebugger.cpp
lldb/test/API/python_api/target/TestTargetAPI.py