summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-02-11 15:22:44 +0100
committerGitHub <noreply@github.com>2025-02-11 14:22:44 +0000
commitbf2d4eb7030b809004dd1e6d0cc15a94a9e18c88 (patch)
tree4810cc4ef8ff384aa851dd9dc6bcb55d59f3f72f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentdd59198647b7be2e7a404d7bf9ecb247fb36ebad (diff)
[lldb] Use preprocessor guard for `LLVM_BUILD_TELEMETRY` (#126715)
Use a preprocessor `#ifdef LLVM_BUILD_TELEMETRY` guard rather than `PARTIAL_SOURCES_INTENDED` for the `Telemetry.cpp` file, to fix building with telemetry disabled. `PARTIAL_SOURCES_INTENDED` does not currently work in `lldb_add_library()`, and while it could be fixed, it seems to be used contrary to its purpose — in other parts of LLVM project, the option is used to indicate that the sources found in the directory are split between different targets (e.g. a library and a tool), not to include sources conditionally.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions