diff --git a/LLVM/cplusplus/README.md b/LLVM/cplusplus/README.md index 7419b4098829795e3e13dc40f86200170ccb6084..5982954c4dd003aab269a61711171ba90e4dee9c 100644 --- a/LLVM/cplusplus/README.md +++ b/LLVM/cplusplus/README.md @@ -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!