Displaying 20 results from an estimated 70000 matches similar to: "[LLVMdev] Kaleidoscope tutorial failed at Chapter 4..."
2008 Dec 02
1
[LLVMdev] Kaleidoscope tutorial failed at Chapter 4...
Hi everyone. I am using LLVM 2.4 release to practise the tutorial at
Kaleidoscope Chapter 4.
I built the LLVM library, and created my own project, and then paste the
code from the tutorial into my own project. Then after compiled and built
it, I passed the built stage. (I am using visual studio 2005 )
However, when I tried to input some code in the command line window, the
sample program crashed.
2009 Mar 17
0
[LLVMdev] Access violation in Kaleidoscope Chapter 4
Hi
I'm starting to use LLVM, in order to develop a compiler. I've been
following the tutorials, but now I have a problem. In the kaleidoscope
tutorial, chapter 4, I get a Access Violation in
ExecutionEngine->getTargetData(). I tried to solve it, but with no
success. Can you help me?
I'm using Visual Studio 2008.
Thanks in advance,
Paulo Matias
2008 Apr 24
0
[LLVMdev] OCaml Kaleidoscope tutorial links to the C++ tutorial
The link to the next chapter in the navigation list at the top of this page
of the OCaml Kaleidoscope tutorial goes to the C++ version:
http://llvm.org/docs/tutorial/OCamlLangImpl3.html.
The link to chapter 8 in the first chapter is broken:
http://llvm.org/docs/tutorial/OCamlLangImpl1.html#intro. It links to the
unvavailable page http://llvm.org/docs/tutorial/OCamlLangImpl8.html. I think
it
2013 Jul 04
1
[LLVMdev] Kaleidoscope Tutorial is Out of Date
I'm working thought the Kaleidoscope tutorials for LLVM 3.3 and noticed the code listing for chapter 4 is out of date on the web.
Take a look at http://llvm.org/releases/3.3/docs/tutorial/LangImpl4.html. The first line includes llvm/DerivedTypes.h, but this does not compile. The correct path is llvm/IR/Derivedtypes.h. There are other differences, and the examples that I pulled along with
2019 Sep 12
2
Questions after completed Kaleidoscope Chapter 1
Hello there,
I finished Chapter 1 of the Kaleidoscope tutorial for using the Orc JIT API. I played around with some things and ended with some questions.
1. What is the use of "MangleAndInterner"?
I read it is used to mangle the name for the lookup search, but I seem to be not able to use it correctly. In my first attempt I used the mangled name of my function
2019 Sep 12
2
Questions after completed Kaleidoscope Chapter 1
Hi Bjoren,
For question 1:
As you mentioned, it is used to mangle to the symbol name and interning
them, So ORC can find them at runtime in one of the JITDylibs. It would be
helpful to know what you tried? (please attach code lines).
For question 2:
I guess you might be missing to link libraries that your program depend on,
you can do that via setting up your dynamiclibrary search generator or
2012 Jul 20
0
[LLVMdev] LLVM Kaleidoscope Chapter 7 Compilation Error in MinGW32(MSYS Shell) on Windows
I've managed to compile LLVM & Clang on windows using command prompt and
using it in MinGW (MSYS Shell). I've done this multiple times, following
many different instructions, ranging from the Getting started page for
clang, the llvm.org official getting started page, and even the attached
guide written by someone else on the llvmdev email list (
2010 Jan 24
0
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
Change your g++ build to:
g++ -g -O0 toy-example26.cpp -o toy-example26 `/Users/albert/NoTimeMachine/LLCM_Clang/llvm-trunk/BUILD/Debug/bin/llvm-config --cppflags --ldflags --libs core jit interpreter native`
After you get this working, try it with the source interpreter include removed, and minus the above interpreter llvm-config addition.
Garrison
On Jan 23, 2010, at 18:55, ALbert Mietus
2017 Feb 06
3
Kaleidoscope tutorial: comments, corrections and Windows support
Hi,
I'm currently working my way through the tutorial with LLVM 3.9.1 on
Windows (finished chapter 4) and stumbled over a few things which could
be improved:
- "LLVMContext" does not exist as a variable -> "TheContext"
- Chapter 3: 5 times
- Chapter 4: 1 time
- Chapter 5: 4 times
- Chapter 6: 2 times
- Chapter 7: 2 times
3.4. Function Code
2010 Jan 23
2
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
--Groetjes, Albert
ALbert Mietus
GSM: +316 16 531 258
Send prive mail to: ALbert at ons-huis dot net
Don't send spam mail!
Mijn missie: http://SoftwareBeterMaken.nl product, proces & imago.
Mijn leven in het kort: http://albert.mietus.nl/Doc/CV_ALbert.html
On 23 Jan 2010., at 22:07, Garrison Venn wrote:
> Look
2010 Jun 03
2
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
Index: docs/tutorial/LangImpl6.html
===================================================================
--- docs/tutorial/LangImpl6.html (revision 105365)
+++ docs/tutorial/LangImpl6.html (working copy)
@@ -531,7 +531,7 @@
def unary-(v)
0-v;
-# Define > with the same precedence as >.
+# Define > with the same precedence as <.
def binary> 10 (LHS RHS)
2010 Jun 21
0
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
Applied in r106468, thanks!
-Chris
On Jun 2, 2010, at 5:23 PM, Adam Warner wrote:
> Index: docs/tutorial/LangImpl6.html
> ===================================================================
> --- docs/tutorial/LangImpl6.html (revision 105365)
> +++ docs/tutorial/LangImpl6.html (working copy)
> @@ -531,7 +531,7 @@
> def unary-(v)
> 0-v;
>
> -# Define > with
2019 Jan 12
2
LLVM header files for Kaleidoscope tutorial
I'm going through the Kaleidoscope tutorial, adding the codegen()
functions: https://llvm.org/docs/tutorial/LangImpl03.html.
I cannot find any discussion of header files to include, (other than the
include of llvm/ADT/STLExtras.h in the lexer/parser code), and the
compilation is failing due to several undefined symbols: LogErrorV, Value,
LLVMContext, APFloat, and others. I've been hunting
2010 Jun 21
1
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
On Mon, 21 Jun 2010 15:31:57 -0500, Chris Lattner <clattner at apple.com>
wrote:
> Applied in r106468, thanks!
>
> -Chris
I think there's a few bugs left in the Kaleidoscope tutorial -- I noticed
somebody converted some of the "Builder.CreateAdd" to CreateFAdd, etc., but
there seem to be a few that got missed. Attached diff is what I could
find...
Kevin Kelley
2014 Oct 21
2
[LLVMdev] Updating Kaleidoscope tutorial
Hi there,
I've been working through the tutorial on using LLVM to implement a small
language (http://llvm.org/docs/tutorial/index.html), and I noticed that the
code in the tutorial is a bit out of sync with LLVM 3.5.
I managed to get the code working, and it appears to even be working
correctly. I'd like to help correct the tutorial so that other people can
also benefit from the pain
2009 Oct 03
1
[LLVMdev] LLVM-Kaleidoscope tutorial
Good morning everyone,
It seems the LLVM tutorial is not up to date anymore and doesn't
compile as is...
The function makeLLVMModule() function doesn't compile at all. Here is
a fix:
Module *makeLLVMModule()
{
// Caches the global context to share it with new Module() and
IntegerType::get() calls
LLVMContext &context = getGlobalContext();
// Module Construction
2010 Jan 22
0
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
On Fri, Jan 22, 2010 at 1:56 PM, ALbert Mietus <albert at ons-huis.net> wrote:
> Hello All
>
> I 'm studing LLVM/Clang and trying to follow the Kaleidoscope tutorial
> (Release 2.6 version).
> I found some minir docu-bugs and added them to Bugzilla.
>
> However, Now I found a show-stopper for me, the toy (v4) demo does
> build, but does crash, on any input. Even a
2008 Nov 13
0
[LLVMdev] Kaleidoscope tutorial and llvm 2.4
Hi all,
being myself still a llvm novice I thought I'd do all fellow newbies a favor and provide a patch that makes the code in the tutorial compile with 2.4, just to avoid extra headache in the (not so easy) process of getting into the matters... it's actually just the new template parameters of the IRBuilder class.
The patch is on the docs/ level since I didn't checkout the whole
2017 Feb 13
2
I'd like to translate the Kaleidoscope tutorial to D language, where should I ask for permission?
Hi llvm-dev:
Sorry for bothering at this mailing list, as I don't know where to ask.
I'm learning LLVM and read the tutorials and found that there are tutorials for C++, C and Ocaml users.
I recently found that there are D bindings for LLVM and it is feasible to write this tutorial in D.
I'd like to take on this little project and translate the code to D, making changes where
2013 Jun 04
0
[LLVMdev] MCJIT and Kaleidoscope Tutorial
Am 04.06.2013 16:05, schrieb David Tweed:
> | I am curious about JMM->invalidInstructionCache(), which I found in
> | lli.cpp implementation. lli.cpp contains also call finalizeObject(), I
> | just overlooked it. lli.cpp calls finalizeObject(), which calls
> | applyPermissions, which in turn calls invalidateInstructionCache. So why
> | lli.cpp does call