[all-commits] [llvm/llvm-project] 220c17: Print a warning when stopped in a frame LLDB has n...

adrian-prantl via All-commits all-commits at lists.llvm.org
Fri May 22 15:39:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 220c17ffd4e1b127bcc02b25980b7934184ee1da
      https://github.com/llvm/llvm-project/commit/220c17ffd4e1b127bcc02b25980b7934184ee1da
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2020-05-22 (Fri, 22 May 2020)

  Changed paths:
    M lldb/include/lldb/Target/Process.h
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/TargetProperties.td
    M lldb/source/Target/Thread.cpp
    A lldb/test/Shell/Process/Inputs/true.c
    A lldb/test/Shell/Process/Optimization.test
    A lldb/test/Shell/Process/UnsupportedLanguage.test

  Log Message:
  -----------
  Print a warning when stopped in a frame LLDB has no plugin for.

This patchs adds an optional warning that is printed when stopped at a
frame that was compiled in a source language that LLDB has no plugin
for.

The motivational use-case is debugging Swift code on Linux. When the
user accidentally invokes the system LLDB that was built without the
Swift plugin, it is very much non-obvious why debugging doesnt
work. This warning makes it easy to figure out what went wrong.

<rdar://problem/56986569>




More information about the All-commits mailing list