[lld] [ELF] Optimize binary search in getSectionPiece (PR #187916)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 21:34:59 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows` running on `linaro-armv8-windows-msvc-05` while building `lld` at step 6 "test".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/141/builds/16820

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test) failure: build (failure)
...
XFAIL: lldb-api :: lang/cpp/symbols/TestSymbols.py (934 of 2486)
PASS: lldb-api :: lang/cpp/template-arguments/TestCppTemplateArguments.py (935 of 2486)
XFAIL: lldb-api :: lang/cpp/template-diagnostic-hint/TestTemplateDiagnosticHint.py (936 of 2486)
PASS: lldb-api :: lang/cpp/template-alias/TestTemplateAlias.py (937 of 2486)
UNSUPPORTED: lldb-api :: lang/cpp/template-function/TestTemplateFunctions.py (938 of 2486)
PASS: lldb-api :: lang/cpp/template-specialization-type/TestTemplateSpecializationType.py (939 of 2486)
PASS: lldb-api :: lang/cpp/template/TestTemplateArgs.py (940 of 2486)
XFAIL: lldb-api :: lang/cpp/this/TestCPPThis.py (941 of 2486)
XFAIL: lldb-api :: lang/cpp/thread_local/TestThreadLocal.py (942 of 2486)
PASS: lldb-api :: lang/cpp/this_class_type_mixing/TestThisClassTypeMixing.py (943 of 2486)
FAIL: lldb-api :: lang/cpp/thunk/TestThunk.py (944 of 2486)
******************** TEST 'lldb-api :: lang/cpp/thunk/TestThunk.py' FAILED ********************
Script:
--
C:/Users/tcwg/scoop/apps/python/current/python.exe C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./lib --env LLVM_INCLUDE_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/include --env LLVM_TOOLS_DIR=C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin --arch aarch64 --build-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex --lldb-module-cache-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/lldb.exe --compiler C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/clang.exe --dsymutil C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin/dsymutil.exe --make C:/Users/tcwg/scoop/shims/make.exe --llvm-tools-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./bin --lldb-obj-root C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/tools/lldb --lldb-libs-dir C:/Users/tcwg/llvm-worker/lldb-aarch64-windows/build/./lib --cmake-build-type Release --skip-category=watchpoint C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\API\lang\cpp\thunk -p TestThunk.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project.git revision 42cc454777274a06933abcd098ec3281158717f9)
  clang revision 42cc454777274a06933abcd098ec3281158717f9
  llvm revision 42cc454777274a06933abcd098ec3281158717f9
Skipping the following test categories: watchpoint, libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect


--
Command Output (stderr):
--
UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_step_out_thunk_dsym (TestThunk.ThunkTest.test_step_out_thunk_dsym) (test case does not fall in any category of interest for this run) 

UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_step_out_thunk_dwarf (TestThunk.ThunkTest.test_step_out_thunk_dwarf) (skip on windows) 

UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_step_out_thunk_dwo (TestThunk.ThunkTest.test_step_out_thunk_dwo) (test case does not fall in any category of interest for this run) 

UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_step_through_thunk_dsym (TestThunk.ThunkTest.test_step_through_thunk_dsym) (test case does not fall in any category of interest for this run) 

FAIL: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_step_through_thunk_dwarf (TestThunk.ThunkTest.test_step_through_thunk_dwarf)

Log Files:

 - C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\lldb-test-build.noindex\lang\cpp\thunk\TestThunk\Failure_test_step_through_thunk_dwarf.log

UNSUPPORTED: LLDB (C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\bin\clang.exe-aarch64) :: test_step_through_thunk_dwo (TestThunk.ThunkTest.test_step_through_thunk_dwo) (test case does not fall in any category of interest for this run) 

======================================================================

FAIL: test_step_through_thunk_dwarf (TestThunk.ThunkTest.test_step_through_thunk_dwarf)


```

</details>

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


More information about the llvm-commits mailing list