ucb-bar / esp-llvm

UCB-BAR fork of LLVM! NOT UPSTREAM RISCV LLVM
Other
123 stars 55 forks source link

Fix LLVMInitializeRISCVTargetMC #34

Closed boomshroom closed 8 years ago

boomshroom commented 8 years ago

Only register the MCInstrInfo for riscv once and actually register it for riscv64.

colinschmidt commented 8 years ago

Thanks!

boomshroom commented 8 years ago

From what I could tell, it was what was responsible for the segfault I posted in #30.

colinschmidt commented 8 years ago

Let me know if this fixes the problem now...I also just pushed a new trunk merge so that is another big variable.