You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I first use rustc --emit=llvm-ir /home/kould/rust-llvm-practises/helloworld/src/example/sum.rs to convert sum.rs to LLVM IR sum.ll, and then call the hello method after importing it as a Module
Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)
Expected Behavior
displayed in terminal
hello world
LLVM Version (please complete the following information):
LLVM Version: 16.0.0
Inkwell Branch Used: inkwell = { version = "0.2.0", features = ["llvm16-0"] }
rustc: 1.69.0
Desktop (please complete the following information):
OS: WSL Ubuntu 20.04.6 LTS
Additional Context
The text was updated successfully, but these errors were encountered:
Describe the Bug
after importing LLVM IR, a segmentation fault occurs when calling its internal method
To Reproduce
sum.rs
main.rs
I first use
rustc --emit=llvm-ir /home/kould/rust-llvm-practises/helloworld/src/example/sum.rs
to convertsum.rs
to LLVM IRsum.ll
, and then call thehello
method after importing it as a ModuleExpected Behavior
displayed in terminal
LLVM Version (please complete the following information):
Desktop (please complete the following information):
Additional Context
The text was updated successfully, but these errors were encountered: