diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2025-01-06 14:24:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 14:24:34 -0800 |
commit | 4cceea1acc4029c1c2cee85205184387ac361ef7 (patch) | |
tree | f90b852cb4f22d6dacd5fa9950d7fe04623911f0 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | |
parent | 32d761bbec660c977322afeac1acbafd46008752 (diff) | |
download | llvm-4cceea1acc4029c1c2cee85205184387ac361ef7.zip llvm-4cceea1acc4029c1c2cee85205184387ac361ef7.tar.gz llvm-4cceea1acc4029c1c2cee85205184387ac361ef7.tar.bz2 |
[libc][bazel] Remove customization from several libc BUILD rules. (#121843)
Get rid of the following arguments to libc_support_library and
libc_function rules:
* `defines` (for raw_mutex.h) - it wasn't used correctly (e.g. didn't
provide actual value for spin count), and we can instead fallback to
defaults set in the header itself (or rely on library-level configure
options).
* `features` - there's no need to disable sanitization for a subset of
memory functions -- it generally should be the vendor / user
responsibility to control it (e.g. don't include instrumented libc
functions in the build, since they would be provided by sanitizer
runtimes instead).
* `local_defines` (for printf_parser) - no longer needed, since
LIBC_COPT_MOCK_ARG_LIST has been removed in
e0be78be427931e94d287002b9c3910f6bc6a22c
This also removes two ad-hoc BUILD rules (strcpy_sanitized and
printf_mock_parser) which are no longer needed and can be replaced by
strcpy and printf_parser, respectively.
Co-authored-by: Alexey Samsonov <samsonov@google.com>
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions