Rollup merge of #150394 - DKLoehr:passplugin, r=nikic
Accommodate LLVM PassPlugin rename LLVM [recently moved](https://github.com/llvm/llvm-project/pull/173279) their `PassPlugin` files to a new folder. This PR updates our `PassWrapper` to point to the new location.
This commit is contained in:
commit
122f02ad02
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