Skip to content

Switch GitHub Actions to Ubuntu 26.04 and enable control-flow coverage. - #2270

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/998920435
Oct 21, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
cl/998920435

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Switch GitHub Actions to Ubuntu 26.04 and enable control-flow coverage.

Also fix compatibility issues exposed by newer GCC and Clang versions on Ubuntu 26.04:

  • Bump abseil-cpp to 20260817.0 (in MODULE.bazel, MODULE.bazel.lock, and cmake/BuildDependencies.cmake) to pick up the <bmi2intrin.h> -> <immintrin.h> fix in raw_hash_set.h needed when GCC 15 targets x86-64-v3 (__BMI2__) by default.
  • Avoid std::atomic<bool> and std::copy in SanitizerCoverage tracing hooks (ExecutionCoverage and TableOfRecentlyComparedBuffers::Insert), using __atomic_load_n, __atomic_store_n, and __builtin_memcpy instead to prevent infinite recursion when unoptimized builds link instrumented COMDAT symbols with _GLIBCXX_ASSERTIONS enabled by default in libstdc++ 15, and include meta.h directly in table_of_recent_compares.h.
  • Move GetTypeName() into type_support_internal so PRETTY_FUNCTION fits within GCC's 80-character std::string_view compile-time debug printing limit and preserves the fuzztest::internal:: namespace prefix.
  • Avoid calling std::memcpy with a null out.data() pointer on empty byte vectors in IRObject::ToCorpus, preventing Clang from optimizing away the empty-vector branch via memcpy's nonnull attribute.

@copybara-service
copybara-service Bot force-pushed the cl/998920435 branch 3 times, most recently from a2bf43b to b98b621 Compare October 14, 2026 20:32
@copybara-service copybara-service Bot changed the title No public description Switch GitHub Actions to Ubuntu 24.04 and enable control-flow coverage. Oct 14, 2026
@copybara-service
copybara-service Bot force-pushed the cl/998920435 branch 2 times, most recently from 4d68ee7 to 0eb74f8 Compare October 15, 2026 22:02
@copybara-service copybara-service Bot changed the title Switch GitHub Actions to Ubuntu 24.04 and enable control-flow coverage. Switch GitHub Actions to Ubuntu 26.04 and enable control-flow coverage. Oct 15, 2026
@copybara-service
copybara-service Bot force-pushed the cl/998920435 branch 3 times, most recently from d92886e to 7c77b5f Compare October 21, 2026 18:37
Also fix compatibility issues exposed by newer GCC and Clang versions on Ubuntu 26.04:
- Bump `abseil-cpp` to `20260817.0` (in `MODULE.bazel`, `MODULE.bazel.lock`, and `cmake/BuildDependencies.cmake`) to pick up the `<bmi2intrin.h>` -> `<immintrin.h>` fix in `raw_hash_set.h` needed when GCC 15 targets `x86-64-v3` (`__BMI2__`) by default.
- Avoid `std::atomic<bool>` and `std::copy` in SanitizerCoverage tracing hooks (`ExecutionCoverage` and `TableOfRecentlyComparedBuffers::Insert`), using `__atomic_load_n`, `__atomic_store_n`, and `__builtin_memcpy` instead to prevent infinite recursion when unoptimized builds link instrumented COMDAT symbols with `_GLIBCXX_ASSERTIONS` enabled by default in `libstdc++` 15, and include `meta.h` directly in `table_of_recent_compares.h`.
- Move `GetTypeName()` into `type_support_internal` so `PRETTY_FUNCTION` fits within GCC's 80-character `std::string_view` compile-time debug printing limit and preserves the `fuzztest::internal::` namespace prefix.
- Avoid calling `std::memcpy` with a null `out.data()` pointer on empty byte vectors in `IRObject::ToCorpus`, preventing Clang from optimizing away the empty-vector branch via `memcpy`'s `nonnull` attribute.

PiperOrigin-RevId: 1004136793
@copybara-service
copybara-service Bot merged commit 39e5d58 into main Oct 21, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the cl/998920435 branch October 21, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant