commit | 7bf5e3f9c4f3eeae614086abd9d0b8f528e2d3cb | [log] [tgz] |
---|---|---|
author | Peter Kasting <[email protected]> | Thu Sep 05 17:25:19 2024 |
committer | Chromium LUCI CQ <[email protected]> | Thu Sep 05 17:25:19 2024 |
tree | bb8994d7610f90ff927e25ff9b88490f9635a842 | |
parent | afba03c345f4a20a854ca09252cfe19dbd4d2e78 [diff] [blame] |
Prerequisites for changing macro definitions in compiler_specific.h. These tweaks will allow updating various macros to C++-standard style attributes without having to simultaneously fix all callers. Bug: none Change-Id: Iea6bc753778aaffdbb345e6817938c33e5554c42 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5806141 Commit-Queue: Daniel Cheng <[email protected]> Code-Coverage: [email protected] <[email protected]> Auto-Submit: Peter Kasting <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Commit-Queue: Peter Kasting <[email protected]> Owners-Override: Daniel Cheng <[email protected]> Cr-Commit-Position: refs/heads/main@{#1351531}
diff --git a/base/stack_canary_linux.cc b/base/stack_canary_linux.cc index 8cbf59e3..644f32db 100644 --- a/base/stack_canary_linux.cc +++ b/base/stack_canary_linux.cc
@@ -68,7 +68,7 @@ } #endif // !defined(NDEBUG) -void NO_STACK_PROTECTOR ResetStackCanaryIfPossible() { +NO_STACK_PROTECTOR void ResetStackCanaryIfPossible() { uintptr_t canary; base::RandBytes(base::byte_span_from_ref(canary)); // First byte should be the null byte for string functions.