mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #80079 from rastogishubham/EnhanceDump
Add dump overloads to print debug info for SIL.
This commit is contained in:
@@ -1012,6 +1012,9 @@ public:
|
||||
/// Pretty-print the module.
|
||||
void dump(bool Verbose = false) const;
|
||||
|
||||
/// Pretty-print the module with DebugInfo.
|
||||
void dump(bool Verbose, bool DebugInfo) const;
|
||||
|
||||
/// Pretty-print the module to a file.
|
||||
/// Useful for dumping the module when running in a debugger.
|
||||
/// Warning: no error handling is done. Fails with an assert if the file
|
||||
|
||||
Reference in New Issue
Block a user