[Lldb-commits] [lldb] [lldb] Extended if conditions to support alias names for registers (PR #124475)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 27 10:09:30 PST 2025


JDevlieghere wrote:

> Yeah this should work for core files.
> 
> ```
> (lldb) target create "lldb/test/API/functionalities/postmortem/elf-core/linux-riscv64.gpr_only.out" --core "ldb/test/API/functionalities/postmortem/elf-core/linux-riscv64.gpr_only.core"
> 
> Core file 'lldb/test/API/functionalities/postmortem/elf-core/linux-riscv64.gpr_only.core' (riscv64) was loaded.
> 
> (lldb) re re x8
>       fp = 0x00fffffff4d5fcf0  
> 
> (lldb) re re x21
>       s5 = 0x00fffffffccd8d28
> ```

If it doesn't exist already, we should definitely have a test to cover the core-file case. 

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


More information about the lldb-commits mailing list