Adopt PrettyStackTrace in LLDB
authorSean Callanan <scallanan@apple.com>
Wed, 14 Dec 2016 21:31:31 +0000 (21:31 +0000)
committerSean Callanan <scallanan@apple.com>
Wed, 14 Dec 2016 21:31:31 +0000 (21:31 +0000)
commit237c3ed95e89388902a70d806fd7fa6d3c9f5eab
tree7565ae88c0f2f2b9156845f85aadf7ce74392421
parent4ffd08cae91e6bfbf1519420aeb096964d27fd39
Adopt PrettyStackTrace in LLDB

LLDB needs some minor changes to adopt PrettyStackTrace after https://reviews.llvm.org/D27683.
We remove our own SetCrashDescription() function and use LLVM-provided RAII objects instead.
We also make sure LLDB doesn't define __crashtracer_info__ which would collide with LLVM's definition.

Differential Revision: https://reviews.llvm.org/D27735

llvm-svn: 289711
lldb/include/lldb/Host/Host.h
lldb/scripts/Xcode/build-llvm.py
lldb/source/API/SBFrame.cpp
lldb/source/API/SBTarget.cpp
lldb/source/Host/common/Host.cpp
lldb/source/Host/macosx/Host.mm
lldb/source/Initialization/SystemInitializerCommon.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp