[Lldb-commits] [lldb] Make stop-hooks fire when lldb first gains control of a process. (PR #137410)

Prabhu Rajasekaran via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 4 17:45:06 PDT 2025


Prabhuk wrote:

@jimingham The suggested fix did not address the test failures. 

Log file: https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8712946848893941121/+/u/test_lldb/check_lldb/stdout

The builder attempted this run from here: The builder ran the tests from here: https://github.com/llvm/llvm-project/commit/fbd30e50644ec0c4d9fec4f4927a3488933fa376

This is reflected in the commit hash from the log message below. 

```
FAIL: lldb-api :: commands/target/stop-hooks/TestStopHookScripted.py (281 of 2903)
******************** TEST 'lldb-api :: commands/target/stop-hooks/TestStopHookScripted.py' FAILED ********************
Script:
--
/b/s/w/ir/x/w/install-cpython-x86_64-linux-gnu/bin/python3 /b/s/w/ir/x/w/github-prabhuk-llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/b/s/w/ir/x/w/llvm_build/./lib --env LLVM_INCLUDE_DIR=/b/s/w/ir/x/w/llvm_build/include --env LLVM_TOOLS_DIR=/b/s/w/ir/x/w/llvm_build/./bin --arch x86_64 --build-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex --lldb-module-cache-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /b/s/w/ir/x/w/llvm_build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /b/s/w/ir/x/w/llvm_build/./bin/lldb --compiler /b/s/w/ir/x/w/cipd/clang/bin/clang --dsymutil /b/s/w/ir/x/w/llvm_build/./bin/dsymutil --make /b/s/w/ir/x/w/cipd/bin/make --llvm-tools-dir /b/s/w/ir/x/w/llvm_build/./bin --lldb-obj-root /b/s/w/ir/x/w/llvm_build/tools/lldb --lldb-libs-dir /b/s/w/ir/x/w/llvm_build/./lib --cmake-build-type Release --skip-category=pexpect /b/s/w/ir/x/w/github-prabhuk-llvm-project/lldb/test/API/commands/target/stop-hooks -p TestStopHookScripted.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 21.0.0git (https://github.com/prabhuk/llvm-project revision fbd30e50644ec0c4d9fec4f4927a3488933fa376)
  clang revision fbd30e50644ec0c4d9fec4f4927a3488933fa376
  llvm revision fbd30e50644ec0c4d9fec4f4927a3488933fa376
I have stopped 1 times.
Returning value: 1 from handle_stop.
I have stopped 1 times.
```



https://github.com/llvm/llvm-project/pull/137410


More information about the lldb-commits mailing list