Method AddStripSymbolsPass
AddStripSymbolsPass<T>(T)
Adds a Strip symbols from module pass
Declaration
public static T AddStripSymbolsPass<T>([ValidatedNotNull] this T passManager)
where T : PassManager
Parameters
public static T AddStripSymbolsPass<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
Performs code stripping. This transformation can delete:
- names for virtual registers
- symbols for internal globals and functions
- debug information
note
This transformation makes code much less readable, so it should only be used in situations where the strip utility would be used, such as reducing code size or making it harder to reverse engineer code.