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 //===----------------------------------------------------------------------===//
10 
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;
19 }
20 #endif // SANITIZER_WINDOWS
21