Method AddStripDeadPrototypesPass
AddStripDeadPrototypesPass<T>(T)
Adds a Strip Unused Function Prototypes pass
Declaration
public static T AddStripDeadPrototypesPass<T>([ValidatedNotNull] this T passManager)
where T : PassManager
Parameters
public static T AddStripDeadPrototypesPass<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 pass loops over all of the functions in the input module, looking for dead declarations and removes them. Dead declarations are declarations of functions for which no implementation is available (i.e., declarations for unused library functions).