Skip to content

Commit 68e90e4

Browse files
authored
[asan][NFCI] Add ASAN_POISONING_H header guard (llvm#133178)
1 parent 291fd8f commit 68e90e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler-rt/lib/asan/asan_poisoning.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
// Shadow memory poisoning by ASan RTL and by user application.
1212
//===----------------------------------------------------------------------===//
1313

14+
#ifndef ASAN_POISONING_H
15+
#define ASAN_POISONING_H
16+
1417
#include "asan_interceptors.h"
1518
#include "asan_internal.h"
1619
#include "asan_mapping.h"
@@ -96,3 +99,5 @@ ALWAYS_INLINE void FastPoisonShadowPartialRightRedzone(
9699
void FlushUnneededASanShadowMemory(uptr p, uptr size);
97100

98101
} // namespace __asan
102+
103+
#endif // ASAN_POISONING_H

0 commit comments

Comments
 (0)