[Lldb-commits] [lldb] [lldb] Fix nullptr dereference on running x86 binary with x86-disabled llvm (PR #82603)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 11 09:18:11 PDT 2024
DavidSpickett wrote:
The spirit of the test is fine but I think we can avoid adding another core file.
As this plugin seems related to backtrace perhaps the test should at least run `bt` and check for the first line of the output. Which means we can justify putting the test in `lldb/test/Shell/Commands` as `command-backtrace-missing-x86.test`.
Now we need a corefile, the closest ones are in `./Register/Core/Inputs/`, so it's a bit unorthodox, but you could load `%p/../Register/Core/Inputs/x86-64-linux.core` and save having to copy it.
https://github.com/llvm/llvm-project/pull/82603
More information about the lldb-commits
mailing list