mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-11 13:05:45 +00:00
8385323: RISC-V: Support with-hsdis=capstone for riscv
This commit is contained in:
parent
4a84d0414e
commit
473f094c7d
@ -47,6 +47,9 @@ ifeq ($(HSDIS_BACKEND), capstone)
|
||||
else ifeq ($(call isTargetCpuArch, arm), true)
|
||||
CAPSTONE_ARCH := CS_ARCH_ARM
|
||||
CAPSTONE_MODE := CS_MODE_ARM
|
||||
else ifeq ($(call isTargetCpuArch, riscv), true)
|
||||
CAPSTONE_ARCH := CS_ARCH_RISCV
|
||||
CAPSTONE_MODE := CS_MODE_RISCV64
|
||||
else
|
||||
$(error No support for Capstone on this platform)
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user