mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-11 22:29:37 +00:00
Add a boolean flag to delete this function from module, leaving the rest behind.
Useful in manual debugging when bugpoint isn't quite up to snuff. llvm-svn: 13110
This commit is contained in:
parent
1e9b5281d0
commit
94f0180757
@ -66,10 +66,11 @@ Pass *createGlobalDCEPass();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// createFunctionExtractionPass - This pass deletes as much of the module as
|
||||
/// possible, except for the function specified.
|
||||
/// createFunctionExtractionPass - If isolateFn is true, this pass deletes as
|
||||
/// much of the module as possible, except for the function specified.
|
||||
/// Otherwise, it deletes the given function, leaving everything else intact.
|
||||
///
|
||||
Pass *createFunctionExtractionPass(Function *F);
|
||||
Pass *createFunctionExtractionPass(Function *F, bool isolateFn = true);
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
x
Reference in New Issue
Block a user