[all-commits] [llvm/llvm-project] 16e5a3: [TargetList] Simplify dummy target creation

Vedant Kumar via All-commits all-commits at lists.llvm.org
Thu Nov 5 16:04:29 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 16e5a347e70b4c819ff440dddd2320457cc2c8ca
      https://github.com/llvm/llvm-project/commit/16e5a347e70b4c819ff440dddd2320457cc2c8ca
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-11-05 (Thu, 05 Nov 2020)

  Changed paths:
    M lldb/include/lldb/Target/Target.h
    M lldb/include/lldb/Target/TargetList.h
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Target/TargetList.cpp

  Log Message:
  -----------
  [TargetList] Simplify dummy target creation

Factor out dummy target creation from CreateTargetInternal.

This makes it impossible for dummy target creation to accidentally fail
due to too-strict checking in one of the CreateTargetInternal overloads.

Testing: check-lldb

rdar://70630655

Differential Revision: https://reviews.llvm.org/D90872




More information about the All-commits mailing list