Where exactly is this mythical Kaleidoscope example? I have llvm 2.5 installed.
examples dsw$ ls
BrainF Fibonacci Makefile ParallelJIT
CMakeLists.txt HowToUseJIT ModuleMaker
Where exactly is this mythical Kaleidoscope example? I have llvm 2.5 installed.
examples dsw$ ls
BrainF Fibonacci Makefile ParallelJIT
CMakeLists.txt HowToUseJIT ModuleMaker
Daniel Wilkerson <daniel.wilkerson@gmail.com> writes:
Where exactly is this mythical Kaleidoscope example? I have llvm 2.5 installed.
It's on svn. Maybe in the 2.6 RC too.
That's not an example, that's a tutorial, and an incomplete one at
that. However I did find the Kaleidoscope example in the subversion
repository head.
Any clue as to why when we attempt to follow the very simple example
in the llvm-2.5 release docs/tutorial/JITTutorial1.html we construct a
module state that verifies but then when we ask it to emit, we get a
stack overflow from LLVM?
Is it supposed to be possible for me to render out an LLVM
datastructure that will verify but not render? That is, is this my
bug or an LLVM bug?
Daniel
The most likely reason is that you didn't follow the instructions, and are using a known-broken GCC:
http://llvm.org/docs/GettingStarted.html#brokengcc
or that you've found a new one.
-Chris
Chris Lattner wrote: