Use the existing build configuration parameter ENABLE_BACKTRACE to compile out all...
authorOwen Anderson <resistor@mac.com>
Thu, 29 Jan 2015 07:35:31 +0000 (07:35 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 29 Jan 2015 07:35:31 +0000 (07:35 +0000)
commit9253bb933aa5d85907f2ff20b9a56b6a4ae1722b
treef94b43d411fc02aeca3b0e429a90ec34113279e3
parent99cd1fb0122e567810e7bb8c912e74189a5036ec
Use the existing build configuration parameter ENABLE_BACKTRACE to compile out all pretty stack trace support when backtraces are disabled.

This has the nice secondary effect of allowing LLVM to continue to build
for targets without __thread or thread_local support to continue to work
so long as they build without support for backtraces.

llvm-svn: 227423
llvm/lib/Support/PrettyStackTrace.cpp