<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54448>54448</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
LLDB shows parameters unavailable when using si to step into an inlined function.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ZequanWu
</td>
</tr>
</table>
<pre>
For the following program, compiling with `clang -g -O1 test.cpp -o test.elf`.
```
inline int foo(int x) {
volatile int local = x + 1;
return local;
}
int main(int argc, char** argv) {
volatile int local = 0;
local += foo(argc);
return local;
}
```
Using `s` at the end, we can see the value of `x` is 1.
`lldb -O "target create test.elf" -o "b test.cpp:7" -o "r" -o "s" -o "s"`
But if using `si` at the end, it shows value of `x` is unavailable.
`lldb -O "target create test.elf" -o "b test.cpp:7" -o "r" -o "s" -o "si"`
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy9k81u2zAMgJ9GvhA1ZNlpmoMPyYKeCuw0DNhNlmlbgyp5-km6tx9le8mK7dDTABomKYL8KIqd63-2z85DnBAGZ4y7ajvC7N3o5SsTn0C511mb7LzqOAF75MpIsh5IPlcQMcRSzTM8uFVHM1BMyfiZ8SNpmyymtpQIQdtItRwTT1l7Y-IAbH9aQwAuzsiozRpmnJIGWH2GN2DiBBWrb4EeY_J2Dbm52f68KVvFCK9S262W9KNampqkZ-JIkl2XjxHwP2pvXnHKB2sva-7DxwHf382XkO-YzEAfyLhMBG2fca8ISloIiIv3Ik1CcEOOfsvROkB1v3Fj-o5mQ3QiEhRGUB5lxPt8hMjjol93mx-rj_u739_V8F698Z5SBD1AumHrv7l1hDC5a_gncbLyIrWRncES_gO8XumLvq37Q32QRdTRYPvycj5tlLOkN48R_Ts4uE5otz6DhuggRJzz23BAQ1nfdA9DsipqZ8siedNOMc6BsJh4Jhlpc1JX0iqRYczl9--B9uw7qkimDiEh4T7vmqZ5Kqa2G3jTKf6osBqUUnsud1KpoaoOvJJ90xQEhya0bHeixixeYUmRm9ydC90KLgSvqydR1w3flz2XQ3cQe8ypVD-whiMthikzR-n8WPh2QerSGOjQ6BDD_VCGoEeLuJSj_DLFyfn2G_5I0n5NxVK7Xdh_Abu7TR0">