mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Because we block the calling thread, this should be safe for the existing implementation of PrettyStackTrace; however, it would be much nicer if LLVM provided direct support for this. The most important thing from the trace that we want to print is the original command line, so an alternative would be to just make a PrettyStackTrace that printed all of the CompilerInvocation context; I think that's accessible somewhere. But this is a nice, simple improvement.
18 KiB
18 KiB