Accommodate upstream PassPlugin rename
This commit is contained in:
parent
2e854a9344
commit
634251cba8
1 changed files with 4 additions and 0 deletions
|
|
@ -23,7 +23,11 @@
|
|||
#include "llvm/MC/TargetRegistry.h"
|
||||
#include "llvm/Object/ObjectFile.h"
|
||||
#include "llvm/Passes/PassBuilder.h"
|
||||
#if LLVM_VERSION_GE(22, 0)
|
||||
#include "llvm/Plugins/PassPlugin.h"
|
||||
#else
|
||||
#include "llvm/Passes/PassPlugin.h"
|
||||
#endif
|
||||
#include "llvm/Passes/StandardInstrumentations.h"
|
||||
#include "llvm/Support/CBindingWrapping.h"
|
||||
#include "llvm/Support/FileSystem.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue