mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
It just trampolines to calling ValueBase::dump(). The reason I added this is sometimes one wants to do this in the debugger and confuses if one has a ValueBase or a SILValue causing lldb to be unhappy. By mirroring this API, one can do the same operation on either type and just move on with ones life. I also wrapped this in LLVM_ATTRIBUTE_DEPRECATED with a msg saying only for use in the debugger so people do not call dump() in the codebase by mistake.
52 KiB
52 KiB