Make sure we handle some more adaptors etc (such as cgscc and devirt).
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/IR/PassManager.h | ||
---|---|---|
388 | IIRC (and I might not be), there was some issue with different compilers providing slightly different names But those classes can just manually override name() anyway, so I don't think this is necessary |
llvm/include/llvm/IR/PassManager.h | ||
---|---|---|
388 | It seems like the name() function that called is the one above, even if "struct NoOpModulePass" etc in PassBuilder.cpp has a their own name() functions. Not sure exactly why but those static functions aren't virtual(?). One solution if "(anonymous namespace)::" isn't "portable" would be to add printPipeline methods in those structs in PassBuilder.cpp that is in the anonymous namespace. |
llvm/include/llvm/IR/PassManager.h | ||
---|---|---|
386 | I think this should use DerivedT::name() and then I can remove the consume_front below. |
clang-format not found in user’s local PATH; not linting file.