[Lldb-commits] [lldb] [lldb][AIX] Extract CPU type and set up process architecture accordingly (PR #189910)

via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 1 01:22:43 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 33388 tests passed
* 514 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### lldb-shell
<details>
<summary>lldb-shell.ObjectFile/XCOFF/basic-info32.yaml</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/basic-info32.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/basic-info32.yaml.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/basic-info32.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/basic-info32.yaml.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb-test object-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/basic-info32.yaml.tmp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/basic-info32.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb-test object-file /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/basic-info32.yaml.tmp
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/basic-info32.yaml
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/basic-info32.yaml:5:10: error: CHECK: expected string not found in input
# | # CHECK: Architecture: powerpc64-ibm-aix
# |          ^
# | <stdin>:1:19: note: scanning from here
# | Plugin name: xcoff
# |                   ^
# | <stdin>:2:1: note: possible intended match here
# | Architecture: 
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/basic-info32.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1: Plugin name: xcoff 
# | check:5'0                       X error: no match found
# |            2: Architecture:  
# | check:5'0     ~~~~~~~~~~~~~~~
# | check:5'1     ?               possible intended match
# |            3: UUID:  
# | check:5'0     ~~~~~~~
# |            4: Executable: true 
# | check:5'0     ~~~~~~~~~~~~~~~~~
# |            5: Stripped: false 
# | check:5'0     ~~~~~~~~~~~~~~~~
# |            6: Type: executable 
# | check:5'0     ~~~~~~~~~~~~~~~~~
# |            7: Strata: unknown 
# | check:5'0     ~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.ObjectFile/XCOFF/symbol-info32.yaml</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/symbol-info32.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/symbol-info32.yaml.tmp
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/yaml2obj /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/symbol-info32.yaml -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/symbol-info32.yaml.tmp
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/symbol-info32.yaml.tmp -o "image dump symtab" -o exit | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/symbol-info32.yaml
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/symbol-info32.yaml.tmp -o 'image dump symtab' -o exit
# .---command stderr------------
# | error: '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/symbol-info32.yaml.tmp' doesn't contain any 'host' platform architectures: x86_64, i386
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/symbol-info32.yaml
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/symbol-info32.yaml:3:10: error: CHECK: expected string not found in input
# | # CHECK: Index UserID DSX Type File Address/Value Load Address Size Flags Name
# |          ^
# | <stdin>:1:1: note: scanning from here
# | (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ObjectFile/XCOFF/symbol-info32.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          1: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet' 
# | check:3     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |          2: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'. 
# | check:3     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          3: (lldb) command source -C --silent-run true lit-lldb-init 
# | check:3     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          4: (lldb) target create "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ObjectFile/XCOFF/Output/symbol-info32.yaml.tmp" 
# | check:3     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the lldb-commits mailing list