[PATCH] D15776: Filtering IR printing for print-after-all/print-before-all
Weiming Zhao via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 5 14:13:13 PST 2016
weimingz added inline comments.
================
Comment at: lib/IR/LegacyPassManager.cpp:129
@@ -112,2 +128,3 @@
+}
/// isPassDebuggingExecutionsOrMore - Return true if -debug-pass=Executions
/// or higher is specified.
----------------
Module printing is different. It not just prints each functions but also others like meta, GV, triple, etc. By default (not specify anything on the filter list), it should print all those stuff.
So we need two functionalities: 1) tell if some function is in list or not; 2) tell if we specified anything to the list.
Repository:
rL LLVM
http://reviews.llvm.org/D15776
More information about the llvm-commits
mailing list