[Lldb-commits] [PATCH] D141245: [LLDB][LoongArch] ObjectFile: add a case for `EM_LOONGARCH`
Lu Weining via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jan 12 18:19:05 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd52582b6b7df: [LLDB][LoongArch] ObjectFile: add a case for `EM_LOONGARCH` (authored by lh03061238, committed by SixWeining).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141245/new/
https://reviews.llvm.org/D141245
Files:
lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp
Index: lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp
===================================================================
--- lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp
+++ lldb/source/Plugins/ObjectFile/ELF/ELFHeader.cpp
@@ -211,6 +211,9 @@
case EM_RISCV:
slot = R_RISCV_JUMP_SLOT;
break;
+ case EM_LOONGARCH:
+ slot = R_LARCH_JUMP_SLOT;
+ break;
}
return slot;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141245.488839.patch
Type: text/x-patch
Size: 399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230113/e5ee9de4/attachment.bin>
More information about the lldb-commits
mailing list