[all-commits] [llvm/llvm-project] 280ae1: [LLDB] fix error message for one-line breakpoint s...

Pedro Tammela via All-commits all-commits at lists.llvm.org
Mon Dec 7 03:28:40 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 280ae10774abac63d4c9fdaf99598afe3053540a
      https://github.com/llvm/llvm-project/commit/280ae10774abac63d4c9fdaf99598afe3053540a
  Author: Pedro Tammela <pctammela at gmail.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M lldb/source/Commands/CommandObjectBreakpointCommand.cpp
    M lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp
    A lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test
    A lldb/test/Shell/ScriptInterpreter/Python/fail_breakpoint_oneline.test

  Log Message:
  -----------
  [LLDB] fix error message for one-line breakpoint scripts

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




More information about the All-commits mailing list