LLDB is ignoring compilation errors for one-line breakpoint scripts. This patch fixes the issues and now the error message of the ScriptInterpreter is shown to the user. I had to remove a new-line character for the Lua interpreter since it was duplicated. Differential Revision: https://reviews.llvm.org/D92729
6 lines
181 B
Plaintext
6 lines
181 B
Plaintext
# REQUIRES: lua
|
|
# RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
|
|
b main
|
|
breakpoint command add -s lua -o '1234_foo'
|
|
# CHECK: error: {{.*}} unexpected symbol near '1234'
|