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
Iterations
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
CompilerConstruction
CodeSamples
Commits
318ccd6a
Commit
318ccd6a
authored
4 years ago
by
Ronald Charles Moore
Browse files
Options
Downloads
Patches
Plain Diff
Updated README.md for LLVM 12
Signed-off-by:
Prof. Ronald Moore
<
ronald.moore@h-da.de
>
parent
7290dc34
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
+13
-10
13 additions, 10 deletions
LLVM/cplusplus/README.md
with
13 additions
and
10 deletions
LLVM/cplusplus/README.md
+
13
−
10
View file @
318ccd6a
Introduction
============
**You are on the "LLVM12" branch!**
This branch has been updated to work with LLVM version 12.0.
It will
**not**
work with older versions of LLVM!
This Directory contains various examples for working with the LLVM tools.
All interesting files are from the LLVM project -
...
...
@@ -16,13 +21,11 @@ This code assumes you have clang and the LLVM library installed -- see below.
It is generally up-to-date with the latest LLVM release:
*
The current version was updated in Summer 2020 and worked with the LLVM 10 at that time.
*
Small changes have been made in 2021 to get it to work with LLVM 11.
*
LLVM 12 was released in April 2021 (!) and this code has
**not**
been updated for it (yet),
since as of this writing, not even Arch Linux makes this available.
*
However,
**be warned**
, this code will eventually be updated to LLVM 12!
*
LLVM 12 was released in April 2021 (!) and the code
**in this branch has**
been updated for it!
*
However,
**be warned**
, this code will not work with older versions of LLVM!
All of the example files (fibonacci.cpp, ModuleMaker.cpp and toy
*
.cpp):
-
are available in the LLVM source tree, for example at
<https://github.com/llvm/llvm-project/releases/tag/llvmorg-1
1.1
.0>
.
-
are available in the LLVM source tree, for example at
<https://github.com/llvm/llvm-project/releases/tag/llvmorg-1
2.0
.0>
.
-
the directory structure has been simplified, some files have been renamed,
and a new Makefile is provided which is much simpler than the original cmake
system (but not guarenteed to work outside Linux).
...
...
@@ -81,7 +84,7 @@ Some, but not all, of these are used by "make tests".
The source code from the Tutorial, Chapters 2 through 9.
All of the above Chapters are available at
https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html
<
https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html
>
Building
=========
...
...
@@ -112,13 +115,13 @@ the tutorial should be read together with the tutorial.
More information is available:
*
Overview of the LLVM Documentation:
http://llvm.org/releases/1
0
.0.0/docs/index.html
<
http://llvm.org/releases/1
2
.0.0/docs/index.html
>
*
The LLVM ("Kaledeiscope") Tutorial:
https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html
<
https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html
>
*
Guide for Programmers:
http://llvm.org/releases/1
0
.0.0/docs/ProgrammersManual.html
<
http://llvm.org/releases/1
2
.0.0/docs/ProgrammersManual.html
>
*
Guide to the LLVM IR (LLVM Intermediate Representation):
http://llvm.org/releases/1
0
.0.0/docs/LangRef.html
<
http://llvm.org/releases/1
2
.0.0/docs/LangRef.html
>
...
...
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