Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lldb][LoongArch] Function calls support in lldb expressions #114742

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lldb/include/lldb/Utility/ArchSpec.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,15 @@ class ArchSpec {
eRISCVSubType_riscv64,
};

enum LoongArcheflags {
eLoongArch_abi_soft_float = 0x00000000, /// soft float
eLoongArch_abi_single_float =
0x00000001, /// single precision floating point, +f
eLoongArch_abi_double_float =
0x00000002, /// double precision floating point, +d
eLoongArch_abi_mask = 0x00000003,
};

enum LoongArchSubType {
eLoongArchSubType_unknown,
eLoongArchSubType_loongarch32,
Expand Down
2 changes: 1 addition & 1 deletion lldb/source/Plugins/ABI/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
foreach(target AArch64 ARM ARC Hexagon Mips MSP430 PowerPC RISCV SystemZ X86)
foreach(target AArch64 ARM ARC Hexagon LoongArch Mips MSP430 PowerPC RISCV SystemZ X86)
if (${target} IN_LIST LLVM_TARGETS_TO_BUILD)
add_subdirectory(${target})
endif()
Expand Down
Loading
Loading