There are two things that potentially worry me about this port:
- Is this still the way we want to handle non-default constructors?
- I've converted the iplist into a std::list<unique_ptr>, because iplist is not moveable. Does this seem reasonable?
Paths
| Differential D22703
[PM] Port SymbolRewriter to the new PM ClosedPublic Authored by mkuper on Jul 22 2016, 2:41 PM.
Details Summary There are two things that potentially worry me about this port:
Diff Detail
Event Timelinemkuper updated this object.
Comment Actions Thanks, Duncan! Committed the iplist change separately, so the only thing that I'm concerned about now is the handling of --rewrite-map-file. This revision is now accepted and ready to land.Jul 25 2016, 1:29 PM Comment Actions If we want to change the handling of -rewrite-file , fine, but that can (and should) be done separately. Closed by commit rL276687: [PM] Port SymbolRewriter to the new PM (authored by mkuper). · Explain WhyJul 25 2016, 1:59 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 65416 llvm/trunk/include/llvm/InitializePasses.h
llvm/trunk/include/llvm/Transforms/Utils/SymbolRewriter.h
llvm/trunk/lib/Passes/PassBuilder.cpp
llvm/trunk/lib/Passes/PassRegistry.def
llvm/trunk/lib/Transforms/Utils/SymbolRewriter.cpp
llvm/trunk/test/SymbolRewriter/rewrite.ll
llvm/trunk/tools/opt/opt.cpp
|