[all-commits] [llvm/llvm-project] 7636b1: Make SBDebugger::CreateTargetWithFileAndArch work ...

jimingham via All-commits all-commits at lists.llvm.org
Tue Jan 26 12:19:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7636b1f6efd56063adcde4f908740660365462a5
      https://github.com/llvm/llvm-project/commit/7636b1f6efd56063adcde4f908740660365462a5
  Author: Jim Ingham <jingham at apple.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

  Changed paths:
    M lldb/source/API/SBDebugger.cpp
    M lldb/test/API/python_api/target/TestTargetAPI.py

  Log Message:
  -----------
  Make SBDebugger::CreateTargetWithFileAndArch work with lldb::LLDB_DEFAULT_ARCH

Second try, handling both a bogus arch string and the "null file & arch" used
to create an empty but valid target.
Also check in that case before logging (previously the logging would have
crashed.)




More information about the All-commits mailing list