[all-commits] [llvm/llvm-project] bf2d4e: [lldb] Use preprocessor guard for `LLVM_BUILD_TELE...
Michał Górny via All-commits
all-commits at lists.llvm.org
Tue Feb 11 06:23:06 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf2d4eb7030b809004dd1e6d0cc15a94a9e18c88
https://github.com/llvm/llvm-project/commit/bf2d4eb7030b809004dd1e6d0cc15a94a9e18c88
Author: Michał Górny <mgorny at gentoo.org>
Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths:
M lldb/source/Core/CMakeLists.txt
M lldb/source/Core/Telemetry.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list