diff options
author | Michael Kruse <llvm@meinersbur.de> | 2019-03-26 15:19:15 +0000 |
---|---|---|
committer | Michael Kruse <llvm@meinersbur.de> | 2019-03-26 15:19:15 +0000 |
commit | d97d5ebcfa4b13a936294f65d92de92993d83391 (patch) | |
tree | a9c61306c139f7969bd04a8b5b67f212b728d1c2 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
parent | 8f8c38174ef3af7db69d192b5a9b2ec7c3ef2bfd (diff) | |
download | bcm5719-llvm-d97d5ebcfa4b13a936294f65d92de92993d83391.tar.gz bcm5719-llvm-d97d5ebcfa4b13a936294f65d92de92993d83391.zip |
[libomptarget] Introduce LIBOMPTARGET_ENABLE_DEBUG cmake option.
At the moment, support for runtime debug output using the
OMPTARGET_DEBUG=1 environment variable is only available with
CMAKE_BUILD_TYPE=Debug builds. The patch allows setting it independently
using the LIBOMPTARGET_ENABLE_DEBUG option, which is enabled by default
depending on CMAKE_BUILD_TYPE. That is, unless this option is set
explicitly, nothing changes. This is the same mechanism used by LLVM for
LLVM_ENABLE_ASSERTIONS.
This patch also removes adding -g -O0 in debug builds, it should be
handled by cmake's CMAKE_{C|CXX}_FLAGS_DEBUG configuration option.
Idea by Hal Finkel
Differential Revision: https://reviews.llvm.org/D55952
llvm-svn: 356998
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions