[Lldb-commits] [PATCH] D80418: Print a warning when stopped in a frame LLDB has no plugin for.
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu May 21 17:53:24 PDT 2020
aprantl created this revision.
aprantl added reviewers: jingham, JDevlieghere.
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
https://reviews.llvm.org/D80418
Files:
lldb/include/lldb/Target/Process.h
lldb/source/Target/Process.cpp
lldb/source/Target/TargetProperties.td
lldb/source/Target/Thread.cpp
lldb/test/Shell/Process/Inputs/language.c
lldb/test/Shell/Process/UnsupportedLanguage.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80418.265652.patch
Type: text/x-patch
Size: 5029 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200522/8da90ec7/attachment-0001.bin>
More information about the lldb-commits
mailing list