CodeSamples issueshttps://code.fbi.h-da.de/compilerconstruction/codesamples/-/issues2021-06-15T12:28:44Zhttps://code.fbi.h-da.de/compilerconstruction/codesamples/-/issues/3LLVM toys2021-06-15T12:28:44ZRonald Charles MooreLLVM toysSome of the programs in directory `LLVM/cplusplus` cannot be built with LLVM 11.1.
Specifically, `toy4, toy5, toy6, toy7` and `toy9` are broken.
Note: `toy1, toy2, fibonacci` and `ModuleMaker` do build, by the way.
All the build that ...Some of the programs in directory `LLVM/cplusplus` cannot be built with LLVM 11.1.
Specifically, `toy4, toy5, toy6, toy7` and `toy9` are broken.
Note: `toy1, toy2, fibonacci` and `ModuleMaker` do build, by the way.
All the build that fail, fail with
```sh
/usr/include/llvm/ExecutionEngine/Orc/Legacy.h:118:25: error: no matching function for call to object of type '(lambda at ./KaleidoscopeJIT.h:48:13)'
```
so the first order of business is to fix file `KaleidoscopeJIT.h` (however, there are several other differences to the original files in the LLVM github repository).