[all-commits] [llvm/llvm-project] a5a71b: [lldb] Fix Lua/watchpoint_callback.test on Apple S...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Feb 7 12:08:38 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5a71b139c6b3cb2cc569c81f91210dede2f1f4c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

  Changed paths:
    A lldb/test/Shell/ScriptInterpreter/Lua/Inputs/val.c
    A lldb/test/Shell/ScriptInterpreter/Lua/Inputs/watchpoint1.in
    A lldb/test/Shell/ScriptInterpreter/Lua/Inputs/watchpoint2.in
    A lldb/test/Shell/ScriptInterpreter/Lua/Inputs/watchpoint3.in
    M lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test

  Log Message:
  [lldb] Fix Lua/watchpoint_callback.test on Apple Silicon

As Pavel pointed out, on Apple Silicon "b main" stops at a point after
the variable has already been initialized. This patch updates the test
case to avoids that. I've also split the test into separate files so its
easier to reproduce the individual scenarios without having to build any
shared state.

More information about the All-commits mailing list