[Lldb-commits] [lldb] [lldb] Fix SBThread::StepOverUntil for discontinuous functions (PR #123046)
LLVM Continuous Integration via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 17 03:35:53 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running on `linaro-lldb-arm-ubuntu` while building `lldb` at step 6 "test".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/18/builds/9983
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test) failure: build (failure)
...
PASS: lldb-api :: functionalities/thread/exit_during_step/TestExitDuringStep.py (650 of 2867)
XFAIL: lldb-api :: functionalities/thread/multi_break/TestMultipleBreakpoints.py (651 of 2867)
PASS: lldb-api :: functionalities/thread/num_threads/TestNumThreads.py (652 of 2867)
PASS: lldb-api :: functionalities/thread/state_after_expression/TestStateAfterExpression.py (653 of 2867)
PASS: lldb-api :: functionalities/thread/exit_during_expression/TestExitDuringExpression.py (654 of 2867)
PASS: lldb-api :: functionalities/thread/step_until/TestStepUntil.py (655 of 2867)
PASS: lldb-api :: functionalities/thread/main_thread_exit/TestMainThreadExit.py (656 of 2867)
PASS: lldb-api :: functionalities/thread/state/TestThreadStates.py (657 of 2867)
PASS: lldb-api :: functionalities/thread/step_out/TestThreadStepOut.py (658 of 2867)
UNRESOLVED: lldb-api :: functionalities/thread/step_until/TestStepUntilAPI.py (659 of 2867)
******************** TEST 'lldb-api :: functionalities/thread/step_until/TestStepUntilAPI.py' FAILED ********************
Script:
--
/usr/bin/python3.10 /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib --env LLVM_INCLUDE_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/include --env LLVM_TOOLS_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --arch armv8l --build-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex --lldb-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/lldb --compiler /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/clang --dsymutil /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin --lldb-obj-root /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb --lldb-libs-dir /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./lib /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until -p TestStepUntilAPI.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 20.0.0git (https://github.com/llvm/llvm-project.git revision f66a5e220cbc2650a5843db854d0734d2aaa030f)
clang revision f66a5e220cbc2650a5843db854d0734d2aaa030f
llvm revision f66a5e220cbc2650a5843db854d0734d2aaa030f
Skipping the following test categories: ['libc++', 'dsym', 'gmodules', 'debugserver', 'objc']
--
Command Output (stderr):
--
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_bad_line (TestStepUntilAPI.TestStepUntilAPI)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_bad_line_discontinuous (TestStepUntilAPI.TestStepUntilAPI)
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_hitting (TestStepUntilAPI.TestStepUntilAPI)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_hitting_discontinuous (TestStepUntilAPI.TestStepUntilAPI)
PASS: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_missing (TestStepUntilAPI.TestStepUntilAPI)
FAIL: LLDB (/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang-arm) :: test_missing_discontinuous (TestStepUntilAPI.TestStepUntilAPI)
======================================================================
ERROR: test_bad_line_discontinuous (TestStepUntilAPI.TestStepUntilAPI)
Test that we get an error if attempting to step outside the current
----------------------------------------------------------------------
Error when building test subject.
Build Command:
/usr/bin/gmake VPATH=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until -C /home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/functionalities/thread/step_until/TestStepUntilAPI.test_bad_line_discontinuous -I /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until -I /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until/Makefile all ARCH=armv8l CC=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang CC_TYPE=clang CXX=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang++ LLVM_AR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/llvm-ar AR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/llvm-ar OBJCOPY=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/llvm-objcopy STRIP=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/llvm-strip ARCHIVER=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/llvm-ar DWP=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/./bin/llvm-dwp CLANG_MODULE_CACHE_DIR=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/module-cache-clang/lldb-api LLDB_OBJ_ROOT=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb 'CFLAGS_EXTRAS=-funique-basic-block-section-names -ffunction-sections -fbasic-block-sections=list=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until/function.list' LD_EXTRAS=-Wl,--script=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until/symbol.order OS=Linux HOST_OS=Linux
Build Command Output:
gmake: Entering directory '/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/functionalities/thread/step_until/TestStepUntilAPI.test_bad_line_discontinuous'
/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang -g -O0 -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/tools/lldb/include -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until -I/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -funique-basic-block-section-names -ffunction-sections -fbasic-block-sections=list=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until/function.list -MT main.o -MD -MP -MF main.d -c -o main.o /home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until/main.c
clang: error: unsupported option '-fbasic-block-sections=list=/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/functionalities/thread/step_until/function.list' for target 'armv8a-unknown-linux-gnueabihf'
gmake: *** [Makefile.rules:616: main.o] Error 1
gmake: Leaving directory '/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/lldb-test-build.noindex/functionalities/thread/step_until/TestStepUntilAPI.test_bad_line_discontinuous'
```
</details>
https://github.com/llvm/llvm-project/pull/123046
More information about the lldb-commits
mailing list