Method WriteToString
WriteToString()
Creates a string representation of the module
string? WriteToString()
Returns
- string
LLVM textual representation of the module
Remarks
This is intentionally NOT an override of ToString() as that is used by debuggers to show the value of a type and this can take an extremely long time (up to many seconds depending on complexity of the module) which is usually bad for the debugger. If you need to see the contents of the IR for a module you can use this method in the immediate or watch windows.