Skip to content

Commit

Permalink
LLVM Plugin fix for LLVM 19 or higher
Browse files Browse the repository at this point in the history
Former-commit-id: fc120fa9fa8038dfeaa4e215aa38a3e6a9db015c
  • Loading branch information
uojalcaraz committed Jul 19, 2024
1 parent 42bca24 commit 6a01929
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/llvm/src/Instrument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
#include "llvm/IR/InstIterator.h"
#include "llvm/Pass.h"


#if( LLVM_VERSION_MAJOR >= 19 )
#include "llvm/IR/Module.h"
#endif


//#include "llvm/ADT/Triple.h"

#include <llvm/IR/DebugLoc.h>
Expand Down

0 comments on commit 6a01929

Please sign in to comment.