[Lldb-commits] [PATCH] D17027: [expression evaluator] Allow runtimes to execute custom LLVM ModulePasses over the generated IR at various stages after expression compilation.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 9 10:28:30 PST 2016


jingham added a comment.

This seems fine as a generic instrumentation point.  Obviously, the onus in on the passes, since they could totally ruin the expression evaluation if they don't do their job right...  But I'm not sure there's any good way to make this not a sharp tool.  But you should wait on Sean to weigh in as well...

One question, what is the force of the "legacy" in "llvm::legacy::PassManager?  Is there some more "modern" way to do this, is this going to go away at some point?


http://reviews.llvm.org/D17027





More information about the lldb-commits mailing list