[Lldb-commits] [lldb] [lldb][headers] Create Python script to fix up framework headers (PR #142051)

LLVM Continuous Integration via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 12 12:37:52 PDT 2025


llvm-ci wrote:

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

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

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

```
Step 6 (test) failure: build (failure)
...
PASS: lldb-shell :: ScriptInterpreter/Python/command_relative_import.test (1611 of 2241)
PASS: lldb-shell :: ScriptInterpreter/Python/eof.test (1612 of 2241)
UNSUPPORTED: lldb-shell :: ScriptInterpreter/Python/exit.test (1613 of 2241)
PASS: lldb-shell :: ScriptInterpreter/Python/fail_breakpoint_oneline.test (1614 of 2241)
PASS: lldb-shell :: ScriptInterpreter/Python/python.test (1615 of 2241)
PASS: lldb-shell :: ScriptInterpreter/Python/sb_address_exception.test (1616 of 2241)
PASS: lldb-shell :: ScriptInterpreter/Python/sb_function_ranges.s (1617 of 2241)
PASS: lldb-shell :: ScriptInterpreter/Python/scripted_breakpoint.test (1618 of 2241)
PASS: lldb-shell :: ScriptInterpreter/Python/scripted_breakpoint_lua.test (1619 of 2241)
PASS: lldb-shell :: ScriptInterpreter/Python/silent_command_script_import.test (1620 of 2241)
FAIL: lldb-shell :: Scripts/TestFrameworkFixScript.test (1621 of 2241)
******************** TEST 'lldb-shell :: Scripts/TestFrameworkFixScript.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
mkdir -p C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\test\Shell\Scripts\Output\TestFrameworkFixScript.test.tmp/Outputs
# executed command: mkdir -p 'C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\test\Shell\Scripts\Output\TestFrameworkFixScript.test.tmp/Outputs'
# note: command had no output on stdout or stderr
# RUN: at line 3
"C:\Users\tcwg\scoop\apps\python\current\python.exe" C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/../../../scripts/framework-header-fix.py -f lldb_main -i C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/Inputs/Main/SBAddress.h -o C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\test\Shell\Scripts\Output\TestFrameworkFixScript.test.tmp/Outputs/SBAddress.h -p /usr/bin/unifdef USWIG
# executed command: 'C:\Users\tcwg\scoop\apps\python\current\python.exe' 'C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/../../../scripts/framework-header-fix.py' -f lldb_main -i 'C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/Inputs/Main/SBAddress.h' -o 'C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\test\Shell\Scripts\Output\TestFrameworkFixScript.test.tmp/Outputs/SBAddress.h' -p /usr/bin/unifdef USWIG
# .---command stdout------------
# | Unable to find unifdef executable. Guards will not be removed from input files. Exiting...
# `-----------------------------
# error: command failed with exit status: 1

--

********************
UNSUPPORTED: lldb-shell :: Scripts/TestFrameworkFixUnifdef.test (1622 of 2241)
FAIL: lldb-shell :: Scripts/TestRPCFrameworkFixScript.test (1623 of 2241)
******************** TEST 'lldb-shell :: Scripts/TestRPCFrameworkFixScript.test' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
mkdir -p C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\test\Shell\Scripts\Output\TestRPCFrameworkFixScript.test.tmp/Outputs
# executed command: mkdir -p 'C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\test\Shell\Scripts\Output\TestRPCFrameworkFixScript.test.tmp/Outputs'
# note: command had no output on stdout or stderr
# RUN: at line 3
"C:\Users\tcwg\scoop\apps\python\current\python.exe" C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/../../../scripts/framework-header-fix.py -f lldb_rpc -i C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/Inputs/Main/RPCSBAddress.h -o C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\test\Shell\Scripts\Output\TestRPCFrameworkFixScript.test.tmp/Outputs/RPCSBAddress.h -p /usr/bin/unifdef USWIG
# executed command: 'C:\Users\tcwg\scoop\apps\python\current\python.exe' 'C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/../../../scripts/framework-header-fix.py' -f lldb_rpc -i 'C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/Inputs/Main/RPCSBAddress.h' -o 'C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\build\tools\lldb\test\Shell\Scripts\Output\TestRPCFrameworkFixScript.test.tmp/Outputs/RPCSBAddress.h' -p /usr/bin/unifdef USWIG
# .---command stderr------------
# | Traceback (most recent call last):
# |   File "C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Scripts/../../../scripts/framework-header-fix.py", line 126, in <module>
# |     main()

```

</details>

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


More information about the lldb-commits mailing list