Add comment to fix -Wfallthrough warning
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_coverage_win_sections.cc
blob485dd45e14bb60ad2d3b144e9ffd5efdfbd1d467
1 //===-- sanitizer_coverage_win_sections.cc --------------------------------===//
2 //
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
5 //
6 //===----------------------------------------------------------------------===//
7 //
8 // This file defines delimiters for Sanitizer Coverage's section.
9 //===----------------------------------------------------------------------===//
11 #include "sanitizer_platform.h"
12 #if SANITIZER_WINDOWS
13 #include <stdint.h>
14 #pragma section(".SCOV$A", read, write) // NOLINT
15 #pragma section(".SCOV$Z", read, write) // NOLINT
16 extern "C" {
17 __declspec(allocate(".SCOV$A")) uint32_t __start___sancov_guards = 0;
18 __declspec(allocate(".SCOV$Z")) uint32_t __stop___sancov_guards = 0;
20 #endif // SANITIZER_WINDOWS