mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Allow for dumping a sil file to disk with the SwiftModule to make it easier to debug modules from the debugger. This is not meant for normal use.
Swift SVN r32838
This commit is contained in:
@@ -485,7 +485,8 @@ public:
|
||||
/// Useful for dumping the module when running in a debugger.
|
||||
/// Warning: no error handling is done. Fails with an assert if the file
|
||||
/// cannot be opened.
|
||||
void dump(const char *FileName, bool Verbose = false) const;
|
||||
void dump(const char *FileName, bool Verbose = false,
|
||||
bool PrintASTDecls = false) const;
|
||||
|
||||
/// Pretty-print the module to the designated stream.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user