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>
7 lines
184 B
Plaintext
7 lines
184 B
Plaintext
Test warnings.
|
|
REQUIRES: shell
|
|
RUN: %clang_host -O3 %S/Inputs/true.c -std=c99 -g -o %t.exe
|
|
RUN: %lldb -o "b main" -o r -o q -b %t.exe | FileCheck %s
|
|
|
|
CHECK: compiled with optimization
|