[Lldb-commits] [lldb] [lldb] Don't trim expression in progress event (PR #174609)

via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 6 07:39:21 PST 2026


github-actions[bot] wrote:

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

* 33244 tests passed
* 503 tests skipped
* 1 test failed

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

### lldb-shell
<details>
<summary>lldb-shell.Expr/TestExecProgress.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/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 -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestExecProgress.test  | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestExecProgress.test
# 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 -s /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestExecProgress.test
# 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/Expr/TestExecProgress.test
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestExecProgress.test:8:10: error: CHECK: expected string not found in input
# | # CHECK: {{title = "Running expression", details = "1 // And a ver…"}}
# | <stdin>:8:219: note: scanning from here
# | lldb 0x000000000c494aa0 Broadcaster("lldb.debugger")::BroadcastEvent (event_sp = 0xc6cb030 Event: broadcaster = 0xc4d24a0 (lldb.debugger), type = 0x00000001, data = { id = 1, title = "Running expression", details = "1", type = start}, unique=false) hijack = 0x0000000000000000
# |                                                                                                                                                                                                                           ^
# | <stdin>:18:176: note: possible intended match here
# | lldb 0x000000000c494aa0 Broadcaster("lldb.debugger")::BroadcastEvent (event_sp = 0xc67f2a0 Event: broadcaster = 0xc4d24a0 (lldb.debugger), type = 0x00000001, data = { id = 2, title = "Running expression", details = "1 // And a very long comment.", type = start}, unique=false) hijack = 0x0000000000000000
# |                                                                                                                                                                                ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestExecProgress.test
# | 
# | -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' 
# |            2: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet'. 
# |            3: (lldb) command source -C --silent-run true lit-lldb-init 
# |            4: (lldb) command source -s 0 '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestExecProgress.test' 
# |            5: Executing commands in '/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/Expr/TestExecProgress.test'. 
# |            6: (lldb) log enable lldb event 
# |            7: (lldb) expr 1 
# |            8: lldb 0x000000000c494aa0 Broadcaster("lldb.debugger")::BroadcastEvent (event_sp = 0xc6cb030 Event: broadcaster = 0xc4d24a0 (lldb.debugger), type = 0x00000001, data = { id = 1, title = "Running expression", details = "1", type = start}, unique=false) hijack = 0x0000000000000000 
# | check:8'0                                                                                                                                                                                                                               X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            9: lldb 0xc4b5320 Listener('lldb.Debugger')::AddEvent (event_sp = {0xc6cb030}) 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           10: dbg.evt-handler 0xc4b5320 'lldb.Debugger' Listener::FindNextEventInternal(broadcaster=(nil), event_type_mask=0x00000000, remove=1) event 0xc6cb030 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           11: dbg.evt-handler this = 0x000000000C4B5320, timeout = <infinite> for lldb.Debugger 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           12: lldb 0x000000000c494aa0 Broadcaster("lldb.debugger")::BroadcastEvent (event_sp = 0xc6b98a0 Event: broadcaster = 0xc4d24a0 (lldb.debugger), type = 0x00000001, data = { id = 1, title = "Running expression", details = "1", type = end}, unique=false) hijack = 0x0000000000000000 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           13: lldb 0xc4b5320 Listener('lldb.Debugger')::AddEvent (event_sp = {0xc6b98a0}) 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           14: dbg.evt-handler 0xc4b5320 'lldb.Debugger' Listener::FindNextEventInternal(broadcaster=(nil), event_type_mask=0x00000000, remove=1) event 0xc6b98a0 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           15: dbg.evt-handler this = 0x000000000C4B5320, timeout = <infinite> for lldb.Debugger 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           16: (int) $0 = 1 
# | check:8'0     ~~~~~~~~~~~~~
# |           17: (lldb) expr 1 // And a very long comment. 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           18: lldb 0x000000000c494aa0 Broadcaster("lldb.debugger")::BroadcastEvent (event_sp = 0xc67f2a0 Event: broadcaster = 0xc4d24a0 (lldb.debugger), type = 0x00000001, data = { id = 2, title = "Running expression", details = "1 // And a very long comment.", type = start}, unique=false) hijack = 0x0000000000000000 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:8'1                                                                                                                                                                                    ?                                                                                                                                  possible intended match
# |           19: lldb 0xc4b5320 Listener('lldb.Debugger')::AddEvent (event_sp = {0xc67f2a0}) 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           20: lldb 0x000000000c494aa0 Broadcaster("lldb.debugger")::BroadcastEvent (event_sp = 0xc67f080 Event: broadcaster = 0xc4d24a0 (lldb.debugger), type = 0x00000001, data = { id = 2, title = "Running expression", details = "1 // And a very long comment.", type = end}, unique=false) hijack = 0x0000000000000000 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           21: lldb 0xc4b5320 Listener('lldb.Debugger')::AddEvent (event_sp = {0xc67f080}) 
# | check:8'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           22: (int) $1 = 1 
# | check:8'0     ~~~~~~~~~~~~~
# |           23: (lldb) quit 
# | check:8'0     ~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# 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/174609


More information about the lldb-commits mailing list