Merging r259696:
[oota-llvm.git] / include / llvm / Pass.h
index 3c4d838a465268f42e82a989e84d29bee35140e5..99604cdbc9caa012e9317d29906933c68330bf1f 100644 (file)
@@ -369,6 +369,10 @@ protected:
 /// @brief This is the storage for the -time-passes option.
 extern bool TimePassesIsEnabled;
 
+/// isFunctionInPrintList - returns true if a function should be printed via
+//  debugging options like -print-after-all/-print-before-all.
+//  @brief Tells if the function IR should be printed by PrinterPass.
+extern bool isFunctionInPrintList(StringRef FunctionName);
 } // End llvm namespace
 
 // Include support files that contain important APIs commonly used by Passes,