[all-commits] [llvm/llvm-project] b31d78: [lldb] Avoid confusing reproducer crashes when ini...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Nov 9 08:50:32 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b31d78794998d313efe80472670602d0388fdbfa
      https://github.com/llvm/llvm-project/commit/b31d78794998d313efe80472670602d0388fdbfa
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-11-09 (Mon, 09 Nov 2020)

  Changed paths:
    M lldb/source/API/SystemInitializerFull.cpp

  Log Message:
  -----------
  [lldb] Avoid confusing reproducer crashes when initialization failed

During active replay, the ::Initialize call is replayed like any other
SB API call and the return value is ignored. Since we can't intercept
this, we terminate here before the uninitialized debugger inevitably
crashes.

Differential revision: https://reviews.llvm.org/D90987




More information about the All-commits mailing list