NJU-ProjectN / nemu

NJU EMUlator, a full system x86/mips32/riscv32/riscv64 emulator for teaching
Other
889 stars 192 forks source link

fix: compile with llvm15 error #53

Closed Pcrab closed 1 year ago

Pcrab commented 1 year ago

If compile with llvm15, make will complain "invalid use of incomplete type ‘class llvm::MCSubtargetInfo’", which can be solved by include "llvm/MC/MCSubtargetInfo.h".

sashimi-yzh commented 1 year ago

Thanks a lot!