alexjung / Writing-an-LLVM-Pass-using-the-new-PassManager

This is a tutorial on how to write an LLVM Pass using the (kind-of) new PassManager. It is compiled from different sources referenced in the tutorial.
48 stars 5 forks source link

Update Tutorial for LLVM 8.0 #1

Open alexjung opened 5 years ago

alexjung commented 5 years ago

Tutorial has to be adapted to minor changes in the LLVM 8.0 API.

alexjung commented 4 years ago

In the release notes it says that:

The add_llvm_loadable_module CMake macro has been removed. The add_llvm_library macro with the MODULE argument now provides the same functionality. See Writing an LLVM Pass.

The macro therefore has to be substituted.