]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/hwasan/hwasan_poisoning.h
Merge compiler-rt trunk r321017 to contrib/compiler-rt.
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / hwasan / hwasan_poisoning.h
1 //===-- hwasan_poisoning.h ----------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file is a part of HWAddressSanitizer.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef HWASAN_POISONING_H
15 #define HWASAN_POISONING_H
16
17 #include "hwasan.h"
18
19 namespace __hwasan {
20 uptr TagMemory(uptr p, uptr size, tag_t tag);
21 uptr TagMemoryAligned(uptr p, uptr size, tag_t tag);
22
23 }  // namespace __hwasan
24
25 #endif  // HWASAN_POISONING_H