Reset prologue_location before calling code_end
[official-gcc.git] / libsanitizer / sanitizer_common / sanitizer_glibc_version.h
blob47175f20aa01a0e2d5613145ff9b52ce15775f38
1 //===-- sanitizer_glibc_version.h -----------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is a part of Sanitizer common code.
11 //===----------------------------------------------------------------------===//
13 #ifndef SANITIZER_GLIBC_VERSION_H
14 #define SANITIZER_GLIBC_VERSION_H
16 #include "sanitizer_platform.h"
18 #if SANITIZER_LINUX || SANITIZER_FUCHSIA
19 #include <features.h>
20 #endif
22 #ifndef __GLIBC_PREREQ
23 #define __GLIBC_PREREQ(x, y) 0
24 #endif
26 #endif