diff options
| author | Hui Li <lihui@loongson.cn> | 2023-01-13 10:16:29 +0800 |
|---|---|---|
| committer | Weining Lu <luweining@loongson.cn> | 2023-01-13 10:17:31 +0800 |
| commit | d52582b6b7dfff5538008ad1ebb141da283d9206 (patch) | |
| tree | e957ccb51ec09bfe8006caf62c68c0eef79b6005 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 46a8d5779b3a1a9526fe71f729c787dc1d47a6a1 (diff) | |
[LLDB][LoongArch] ObjectFile: add a case for `EM_LOONGARCH`
This adds the jump slot mapping for LoongArch. This is a simple
change that ensures lldb running properly.
Note that this problem was found only when CMake variables
"DLLVM_ENABLE_ASSERTIONS=ON" is selected.
Without this patch,
```
$ build/bin/lldb test
../ELFHeader::GetRelocationJumpSlotType() const: Assertion `false && "architecture not supported"' fail
```
With this patch
```
$ build/bin/lldb test
(lldb) target create "test"
Current executable set to '../test' (loongarch64).
```
Reviewed By: SixWeining, DavidSpickett
Differential Revision: https://reviews.llvm.org/D141245
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
