[llvm-dev] LLVM Kaleidoscope : Compiling to Object Code - Segmentation Fault
preejackie via llvm-dev
llvm-dev at lists.llvm.org
Thu Jan 24 09:36:24 PST 2019
Hi all :)
I'm new to llvm!
I'm going through the kaleidoscope : compiling llvm IR to object code
tutorial, code in the listings breaks and causes a segmentation fault.
After some investigation through gdb, probably this constructor call,
causing the segfault.
|Program received signal SIGSEGV, Segmentation fault.||
true> const&) ()|
|Source code: |
Target->createTargetMachine(TargetTriple, CPU, Features, opt, RM);
Whether this behavior is already notified and is there any workaround
available for it ? I would be great to know the root cause for this
Of course, the kaleidoscope is friendly and good introduction to llvm
for beginners, thank you very much for developing :)
Thanks for your kind help
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev