]> granicus.if.org Git - llvm/commit
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)
commite9cc6bd43f16009e7ca40017cce096a2f0c21404
treede15b3b7904ef09dc0f1fa51879aa4aba263a222
parent9c31489f1e38ecb31386eb0ad310576cef07053a
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227423 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/PrettyStackTrace.cpp