mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
Added pure llvm pipelines
This commit is contained in:
committed by
Alessandro Di Federico
parent
a42c219189
commit
4e4cb000a9
@@ -88,6 +88,18 @@ private:
|
||||
std::set<std::string> ContainedStrings;
|
||||
};
|
||||
|
||||
struct ExamplePass : public llvm::ModulePass {
|
||||
static char ID;
|
||||
|
||||
ExamplePass() : llvm::ModulePass(ID) {}
|
||||
|
||||
bool runOnModule(llvm::Module &M) override { return true; }
|
||||
};
|
||||
|
||||
char ExamplePass::ID = '_';
|
||||
|
||||
static llvm::RegisterPass<ExamplePass> X2("ExamplePass", "ExamplePass");
|
||||
|
||||
char StringContainer::ID;
|
||||
|
||||
class ExampleRegistryLibrary : public AutoEnforcerLibraryRegistry {
|
||||
|
||||
Reference in New Issue
Block a user