Merge pull request #80079 from rastogishubham/EnhanceDump

Add dump overloads to print debug info for SIL.
This commit is contained in:
Shubham Sandeep Rastogi
2025-03-31 11:41:55 -07:00
committed by GitHub
5 changed files with 40 additions and 1 deletions

View File

@@ -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