Path: blob/main/contrib/llvm-project/compiler-rt/lib/gwp_asan/definitions.h
35235 views
//===-- definitions.h -------------------------------------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef GWP_ASAN_DEFINITIONS_H_9#define GWP_ASAN_DEFINITIONS_H_1011#define GWP_ASAN_TLS_INITIAL_EXEC \12__thread __attribute__((tls_model("initial-exec")))1314#define GWP_ASAN_UNLIKELY(X) __builtin_expect(!!(X), 0)15#define GWP_ASAN_ALWAYS_INLINE inline __attribute__((always_inline))1617#define GWP_ASAN_WEAK __attribute__((weak))1819#endif // GWP_ASAN_DEFINITIONS_H_202122