[Lldb-commits] [lldb] [lldb] Skip the prologue before reading `this` when stepping into std::function (PR #209629)

via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 14 16:00:37 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 33359 tests passed
* 904 tests skipped
* 3 tests failed

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

### lldb-shell
<details>
<summary>lldb-shell.SymbolFile/Breakpad/unwind-via-raSearch.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-stack-win.yaml -o C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-raSearch.test.tmp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe' 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-stack-win.yaml' -o 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-raSearch.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\lldb.exe --no-lldbinit -S C:/_work/llvm-project/llvm-project/build/tools/lldb\test\Shell\lit-lldb-init-quiet -c C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-raSearch.test.tmp    -o "target symbols add C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-raSearch.syms"    -s C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-raSearch.test -b | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-raSearch.test
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\lldb.exe' --no-lldbinit -S 'C:/_work/llvm-project/llvm-project/build/tools/lldb\test\Shell\lit-lldb-init-quiet' -c 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-raSearch.test.tmp' -o 'target symbols add C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-raSearch.syms' -s 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-raSearch.test' -b
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-raSearch.test'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-raSearch.test:43:10: error: CHECK: expected string not found in input
# | # CHECK: frame #1: 0x000b1079 unwind-via-stack-win.exe`call_many + 105
# |          ^
# | <stdin>:108:67: note: scanning from here
# |  * frame #0: 0x000b1092 unwind-via-stack-win.exe`many_pointer_args + 2
# |                                                                   ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-raSearch.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           103: row[0]: 0: CFA=esp +4 => esp=CFA+0 eip=[CFA-4]  
# |           104:  
# |           105:  
# |           106: (lldb) thread backtrace 
# |           107: * thread #1 
# |           108:  * frame #0: 0x000b1092 unwind-via-stack-win.exe`many_pointer_args + 2 
# | check:43'0                                                                      {     } search range (exclusive bounds)
# | check:43'1                                                                              error: no match found in search range
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.SymbolFile/Breakpad/unwind-via-stack-win-no-memory-info.yaml</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe --docnum=1 C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win-no-memory-info.yaml -o C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dmp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe' --docnum=1 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win-no-memory-info.yaml' -o 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dmp'
# note: command had no output on stdout or stderr
# RUN: at line 4
mkdir -p C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dir
# executed command: mkdir -p 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dir'
# note: command had no output on stdout or stderr
# RUN: at line 5
c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe --docnum=2 C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win-no-memory-info.yaml -o C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dir/unwind-via-stack-win-no-memory-info.exe
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe' --docnum=2 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win-no-memory-info.yaml' -o 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dir/unwind-via-stack-win-no-memory-info.exe'
# note: command had no output on stdout or stderr
# RUN: at line 6
c:\_work\llvm-project\llvm-project\build\bin\lldb.exe --no-lldbinit -S C:/_work/llvm-project/llvm-project/build/tools/lldb\test\Shell\lit-lldb-init-quiet -c C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dmp C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dir/unwind-via-stack-win-no-memory-info.exe    -o "target symbols add C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-raSearch.syms"    -o "thread backtrace" -b | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win-no-memory-info.yaml
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\lldb.exe' --no-lldbinit -S 'C:/_work/llvm-project/llvm-project/build/tools/lldb\test\Shell\lit-lldb-init-quiet' -c 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dmp' 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dir/unwind-via-stack-win-no-memory-info.exe' -o 'target symbols add C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-raSearch.syms' -o 'thread backtrace' -b
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win-no-memory-info.yaml'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win-no-memory-info.yaml:12:10: error: CHECK: expected string not found in input
# | # CHECK: frame #1: 0x000b1079 unwind-via-stack-win-no-memory-info.exe`call_many + 105
# |          ^
# | <stdin>:10:82: note: scanning from here
# |  * frame #0: 0x000b1092 unwind-via-stack-win-no-memory-info.exe`many_pointer_args + 2
# |                                                                                  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win-no-memory-info.yaml
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |             5: Core file 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dmp' (i386) was loaded. 
# |             6: (lldb) target symbols add C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-raSearch.syms 
# |             7: symbol file 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\Inputs\unwind-via-raSearch.syms' has been added to 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win-no-memory-info.yaml.tmp.dir\unwind-via-stack-win-no-memory-info.exe' 
# |             8: (lldb) thread backtrace 
# |             9: * thread #1 
# |            10:  * frame #0: 0x000b1092 unwind-via-stack-win-no-memory-info.exe`many_pointer_args + 2 
# | check:12'0                                                                                     {     } search range (exclusive bounds)
# | check:12'1                                                                                             error: no match found in search range
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>lldb-shell.SymbolFile/Breakpad/unwind-via-stack-win.test</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-stack-win.yaml -o C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win.test.tmp
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\yaml2obj.exe' 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-stack-win.yaml' -o 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win.test.tmp'
# note: command had no output on stdout or stderr
# RUN: at line 4
c:\_work\llvm-project\llvm-project\build\bin\lldb.exe --no-lldbinit -S C:/_work/llvm-project/llvm-project/build/tools/lldb\test\Shell\lit-lldb-init-quiet -c C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win.test.tmp    -o "target symbols add C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-stack-win.syms"    -s C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win.test -b | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win.test
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\lldb.exe' --no-lldbinit -S 'C:/_work/llvm-project/llvm-project/build/tools/lldb\test\Shell\lit-lldb-init-quiet' -c 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win.test.tmp' -o 'target symbols add C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-stack-win.syms' -s 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win.test' -b
# .---command stderr------------
# | Expected<T> must be checked before access or destruction.
# | Unchecked Expected<T> contained error:
# | register esp is not availableLLDB diagnostics will be written to C:\Users\ContainerAdministrator\AppData\Local\Temp\lit-tmp-h4lgkhpc\diagnostics-f6a08f
# | Please include the directory content when filing a bug report
# | Exception Code: 0xC000001D
# |  #0 0x00007ff70b470976 (c:\_work\llvm-project\llvm-project\build\bin\lldb.exe+0x30976)
# |  #1 0x00007ff881adbb04 (C:\Windows\System32\ucrtbase.dll+0x7bb04)
# |  #2 0x00007ff881adcad1 (C:\Windows\System32\ucrtbase.dll+0x7cad1)
# |  #3 0x00007ff8500a2846 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x3d2846)
# |  #4 0x00007ff85009f3f0 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x3cf3f0)
# |  #5 0x00007ff850b270f6 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xe570f6)
# |  #6 0x00007ff850b21e9d PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xe51e9d)
# |  #7 0x00007ff850b1c770 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xe4c770)
# |  #8 0x00007ff850ac3cd4 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xdf3cd4)
# |  #9 0x00007ff850ac36d1 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xdf36d1)
# | #10 0x00007ff850ac3a3e PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xdf3a3e)
# | #11 0x00007ff850ac35db PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xdf35db)
# | #12 0x00007ff850ac44ed PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xdf44ed)
# | #13 0x00007ff85011eb4c PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x44eb4c)
# | #14 0x00007ff8501213e6 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x4513e6)
# | #15 0x00007ff85013b668 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x46b668)
# | #16 0x00007ff8500eaf0a PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x41af0a)
# | #17 0x00007ff8500eacbc PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x41acbc)
# | #18 0x00007ff8500eab77 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x41ab77)
# | #19 0x00007ff84ffb145a PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x2e145a)
# | #20 0x00007ff85006637f PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x39637f)
# | #21 0x00007ff8508ab172 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0xbdb172)
# | #22 0x00007ff84ffb1afc PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x2e1afc)
# | #23 0x00007ff850068d01 PyInit__lldb (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x398d01)
# | #24 0x00007ff84fd289fc lldb::SBDebugger::RunCommandInterpreter(class lldb::SBCommandInterpreterRunOptions const &) (c:\_work\llvm-project\llvm-project\build\bin\liblldb.dll+0x589fc)
# | #25 0x00007ff70b444249 (c:\_work\llvm-project\llvm-project\build\bin\lldb.exe+0x4249)
# | #26 0x00007ff70b445562 (c:\_work\llvm-project\llvm-project\build\bin\lldb.exe+0x5562)
# | #27 0x00007ff70b493980 (c:\_work\llvm-project\llvm-project\build\bin\lldb.exe+0x53980)
# | #28 0x00007ff88afb4cb0 (C:\Windows\System32\KERNEL32.DLL+0x14cb0)
# | #29 0x00007ff89717edcb (C:\Windows\SYSTEM32\ntdll.dll+0x7edcb)
# `-----------------------------
# error: command failed with exit status: 0xc000001d
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win.test'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win.test:11:16: error: CHECK-LABEL: expected string not found in input
# | # CHECK-LABEL: image show-unwind -n call_many
# |                ^
# | <stdin>:1:1: note: scanning from here
# | (lldb) command source -s 0 'C:/_work/llvm-project/llvm-project/build/tools/lldb\test\Shell\lit-lldb-init-quiet'
# | ^
# | <stdin>:7:124: note: possible intended match here
# | symbol file 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\Inputs\unwind-via-stack-win.syms' has been added to 'unwind-via-stack-win.exe'
# |                                                                                                                            ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win.test
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: (lldb) command source -s 0 'C:/_work/llvm-project/llvm-project/build/tools/lldb\test\Shell\lit-lldb-init-quiet' 
# | label:11'0    {                                                                                                                  search range start (exclusive)
# | label:11'1                                                                                                                       error: no match found in search range
# |             2: Executing commands in 'C:\_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) target create --core "C:\\_work\\llvm-project\\llvm-project\\build\\tools\\lldb\\test\\Shell\\SymbolFile\\Breakpad\\Output\\unwind-via-stack-win.test.tmp" 
# |             5: Core file 'C:\_work\llvm-project\llvm-project\build\tools\lldb\test\Shell\SymbolFile\Breakpad\Output\unwind-via-stack-win.test.tmp' (i386) was loaded. 
# |             6: (lldb) target symbols add C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad/Inputs/unwind-via-stack-win.syms 
# |             7: symbol file 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\Inputs\unwind-via-stack-win.syms' has been added to 'unwind-via-stack-win.exe' 
# | label:11'2                                                                                                                                ?                                         possible intended match
# |             8: (lldb) command source -s 0 'C:\_work\llvm-project\llvm-project\lldb\test\Shell\SymbolFile\Breakpad\unwind-via-stack-win.test' 
# | label:11'3                                                                                                                                   } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/209629


More information about the lldb-commits mailing list