Skip to content
Snippets Groups Projects
Commit 45363644 authored by Ronald Charles Moore's avatar Ronald Charles Moore
Browse files

Updated for Summer 2021

parent 845505ed
Branches
Tags
No related merge requests found
......@@ -17,6 +17,15 @@ in May 2017.
This version can be fairly easily adpated to work with LLVM 3.9.
It does NOT work with earlier versions of LLVM.
The current version was updated in Summer 2020 and worked with the current LLVM at that time.
>
> **WARNING** In 2021, with LLVM 11, some of this directory works, but some doesn't.
>
> The broken parts will be fixed _soon_.
>
All of the example files (fibonacci.cpp, ModuleMaker.cpp and toy*.cpp):
- are available in the LLVM source tree, for example by running the
......@@ -36,6 +45,7 @@ All of the example files (fibonacci.cpp, ModuleMaker.cpp and toy*.cpp):
Still, it should be emphasized that there is nothing really new here -- apart
from the packaging, everything here is from the LLVM project!
Manifest ("Table of Contents")
===============================
......@@ -62,11 +72,11 @@ which does nothing but return a status of 5. LLVM
bit code can be run using the LLVM "lli" tool.
Thus, you should be able to do the following:
```
make ModuleMaker
./ModuleMaker >status5.bc
lli status5.bc
echo $? # should print "5"
```sh
$ make ModuleMaker
$ ./ModuleMaker >status5.bc
$ lli status5.bc
$ echo $? # should print "5"
```
"Hello World" doesn't get much simpler than this!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment