[Lldb-commits] [PATCH] D80112: Check if thread was suspended during previous stop added.

Ilya Bukonkin via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 4 13:51:12 PDT 2020


fallkrum added a comment.

@jingham tried test you added, got the following output:

Ilyas-Mac-mini:Ninja ilya$ ./bin/lldb-dotest -p TestStateAfterExpression.py
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 /Users/ilya/Documents/Projects/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/ilya/Documents/Projects/llvm-project/build/Ninja/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity - --server /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/debugserver --build-dir /Users/ilya/Documents/Projects/llvm-project/build/Ninja/lldb-test-build.noindex --executable /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/lldb --compiler /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/clang --dsymutil /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/dsymutil --filecheck /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/FileCheck --lldb-libs-dir /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./lib -p TestStateAfterExpression.py
LLDB library dir: /Users/ilya/Documents/Projects/llvm-project/build/Ninja/bin
LLDB import library dir: /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./lib
lldb version 11.0.0

  clang revision c0b351fea652442190b5c890cbd23297762a5d64
  llvm revision c0b351fea652442190b5c890cbd23297762a5d64

libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx
Skipping following debug info categories: ['dwo']

Session logs for test failures/errors/unexpected successes will go into directory '/Users/ilya/Documents/Projects/llvm-project/build/Ninja/lldb-test-traces'
Command invoked: /Users/ilya/Documents/Projects/llvm-project/lldb/test/API/dotest.py --arch x86_64 -s /Users/ilya/Documents/Projects/llvm-project/build/Ninja/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --codesign-identity - --server /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/debugserver --build-dir /Users/ilya/Documents/Projects/llvm-project/build/Ninja/lldb-test-build.noindex --executable /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/lldb --compiler /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/clang --dsymutil /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/dsymutil --filecheck /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./bin/FileCheck --lldb-libs-dir /Users/ilya/Documents/Projects/llvm-project/build/Ninja/./lib -p TestStateAfterExpression.py
PASS: LLDB (/Users/ilya/Documents/Projects/llvm-project/build/Ninja/bin/clang-11-x86_64) :: test_thread_state_after_expr_dsym (TestStateAfterExpression.TestStopReasonAfterExpression)
PASS: LLDB (/Users/ilya/Documents/Projects/llvm-project/build/Ninja/bin/clang-11-x86_64) :: test_thread_state_after_expr_dwarf (TestStateAfterExpression.TestStopReasonAfterExpression)
UNSUPPORTED: LLDB (/Users/ilya/Documents/Projects/llvm-project/build/Ninja/bin/clang-11-x86_64) :: test_thread_state_after_expr_dwo (TestStateAfterExpression.TestStopReasonAfterExpression) (test case does not fall in any category of interest for this run)

PASS: LLDB (/Users/ilya/Documents/Projects/llvm-project/build/Ninja/bin/clang-11-x86_64) :: test_thread_state_after_expr_gmodules (TestStateAfterExpression.TestStopReasonAfterExpression)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Ran 4 tests in 28.206s

RESULT: PASSED (3 passes, 0 failures, 0 errors, 1 skipped, 0 expected failures, 0 unexpected successes)

If I understand everything correctly the patch passes the test.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80112/new/

https://reviews.llvm.org/D80112





More information about the lldb-commits mailing list