This patch fixes the linkage for __crashtracer_info__ making it have the proper mangling (extern "C") and linkage (private extern).
It also adds a new PrettyStackTrace type, allowing LLDB to adopt this instead of Host::SetCrashDescriptionWithFormat().
Without this patch, CrashTracer on macOS won't pick up pretty stack traces from any LLVM client. Also, this patch needs to be synced with an LLDB patch that adopts it.
As far as I can tell, making this a hidden symbol makes the .desc ___crashreporter_info__, 0x10 (ie REFERENCED_DYNAMICALLY) not have any effect:
It does have an effect without it:
Is that intentional? Should we just remove the .desc line?