Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Dec 14, 2023
1 parent a47af53 commit 6889ead
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ namespace ChangeMallocArgSize {
{
}

//virtual bool runOnModule(Module& m) override
virtual PreservedAnalyses run(Module & m, ModuleAnalysisManager & MAM)
{
pMod = &m;
Expand All @@ -159,12 +158,6 @@ namespace ChangeMallocArgSize {
}; // end of struct ChangeMallocArgSize
} // end of ChangeMallocArgSize namespace

#if 0
char ChangeMallocArgSize::ID = 0;
static RegisterPass<ChangeMallocArgSize> X("clambc-change-malloc-arg-size", "ChangeMallocArgSize Pass",
false /* Only looks at CFG */,
false /* Analysis Pass */);
#else
// This part is the new way of registering your pass
extern "C" ::llvm::PassPluginLibraryInfo LLVM_ATTRIBUTE_WEAK
llvmGetPassPluginInfo() {
Expand All @@ -187,4 +180,3 @@ llvmGetPassPluginInfo() {



#endif

0 comments on commit 6889ead

Please sign in to comment.