Method AddPruneEHPass
AddPruneEHPass<T>(T)
Adds a Prune unused exception handling info pass
Declaration
public static T AddPruneEHPass<T>([ValidatedNotNull] this T passManager)
where T : PassManager
Parameters
public static T AddPruneEHPass<T>([ValidatedNotNull] this T passManager)
where T : PassManager
T | passManager | Pass manager to add the pass to |
Returns
T |
|
Type Parameters
T | PassManager type |
Remarks
This file implements a simple inter-procedural pass which walks the call-graph, turning invoke instructions into call instructions if and only if the callee cannot throw an exception. It implements this as a bottom-up traversal of the call-graph.