[Lldb-commits] [PATCH] D137057: [LLDB][LoongArch] Add LoongArch ArchSpec and subtype detection
WÁNG Xuěruì via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 31 03:50:02 PDT 2022
xen0n added inline comments.
================
Comment at: lldb/include/lldb/Utility/ArchSpec.h:111
+ enum LOONGARCHSubType {
+ eLOONGARCHSubType_unknown,
----------------
Should be `LoongArch`. It's that way everywhere else in LLVM land.
================
Comment at: lldb/source/Utility/ArchSpec.cpp:223
+ {eByteOrderLittle, 4, 1, 4, llvm::Triple::loongarch32,
+ ArchSpec::eCore_loongarch32, "loongarch32"},
----------------
`min_opcode_byte_size` should be 4 too, all LoongArch insns are 32 bits long. Same for `loongarch64`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137057/new/
https://reviews.llvm.org/D137057
More information about the lldb-commits
mailing list