[all-commits] [llvm/llvm-project] 93a1e9: [lldb/SWIG] Add missing '\' in macros again

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Thu Jan 9 08:15:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 93a1e9c90c96a9130352bf358d7777f0379ebb48
      https://github.com/llvm/llvm-project/commit/93a1e9c90c96a9130352bf358d7777f0379ebb48
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M lldb/scripts/macros.swig

  Log Message:
  -----------
  [lldb/SWIG] Add missing '\' in macros again

Making the string conversion operator a macro unintentionally dropped
the backslash before '\n' and '\r' and was therefore incorrectly
stripping 'n' and 'r' from the object description.


  Commit: 45c971f7eef18ef2b77a5f64133dbd7bd5939d5f
      https://github.com/llvm/llvm-project/commit/45c971f7eef18ef2b77a5f64133dbd7bd5939d5f
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-01-09 (Thu, 09 Jan 2020)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Lua/Lua.cpp
    M lldb/source/Plugins/ScriptInterpreter/Lua/Lua.h
    M lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp
    M lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.h
    A lldb/test/Shell/ScriptInterpreter/Lua/Inputs/independent_state.in
    A lldb/test/Shell/ScriptInterpreter/Lua/Inputs/nested_sessions.in
    A lldb/test/Shell/ScriptInterpreter/Lua/Inputs/nested_sessions_2.in
    A lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test
    A lldb/test/Shell/ScriptInterpreter/Lua/independent_state.test
    A lldb/test/Shell/ScriptInterpreter/Lua/nested_sessions.test

  Log Message:
  -----------
  [lldb/Lua] Make lldb.debugger et al available to Lua

The Python script interpreter makes the current debugger, target,
process, thread and frame available to interactive scripting sessions
through convenience variables. This patch does the same for Lua.

Differential revision: https://reviews.llvm.org/D71801


Compare: https://github.com/llvm/llvm-project/compare/ea9888b8f6f2...45c971f7eef1


More information about the All-commits mailing list