Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CodeSamples
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Deisenroth
CodeSamples
Commits
45363644
Commit
45363644
authored
4 years ago
by
Ronald Charles Moore
Browse files
Options
Downloads
Patches
Plain Diff
Updated for Summer 2021
Signed-off-by:
Prof. Ronald Moore
<
ronald.moore@h-da.de
>
parent
845505ed
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LLVM/cplusplus/README.md
+15
-5
15 additions, 5 deletions
LLVM/cplusplus/README.md
with
15 additions
and
5 deletions
LLVM/cplusplus/README.md
+
15
−
5
View file @
45363644
...
@@ -17,6 +17,15 @@ in May 2017.
...
@@ -17,6 +17,15 @@ in May 2017.
This version can be fairly easily adpated to work with LLVM 3.9.
This version can be fairly easily adpated to work with LLVM 3.9.
It does NOT work with earlier versions of LLVM.
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):
All of the example files (fibonacci.cpp, ModuleMaker.cpp and toy
*
.cpp):
-
are available in the LLVM source tree, for example by running the
-
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):
...
@@ -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
Still, it should be emphasized that there is nothing really new here -- apart
from the packaging, everything here is from the LLVM project!
from the packaging, everything here is from the LLVM project!
Manifest ("Table of Contents")
Manifest ("Table of Contents")
===============================
===============================
...
@@ -62,11 +72,11 @@ which does nothing but return a status of 5. LLVM
...
@@ -62,11 +72,11 @@ which does nothing but return a status of 5. LLVM
bit code can be run using the LLVM "lli" tool.
bit code can be run using the LLVM "lli" tool.
Thus, you should be able to do the following:
Thus, you should be able to do the following:
```
```
sh
make ModuleMaker
$
make ModuleMaker
./ModuleMaker >status5.bc
$
./ModuleMaker
>
status5.bc
lli status5.bc
$
lli status5.bc
echo $? # should print "5"
$
echo
$?
# should print "5"
```
```
"Hello World" doesn't get much simpler than this!
"Hello World" doesn't get much simpler than this!
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment