From 391438a08dbfcee40fbb84b5f600698c733a8abf Mon Sep 17 00:00:00 2001 From: Filipe Cabecinhas Date: Thu, 18 Aug 2016 13:22:00 +0000 Subject: [PATCH] Add header guards to asan_descriptions.h llvm-svn: 279062 --- compiler-rt/lib/asan/asan_descriptions.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler-rt/lib/asan/asan_descriptions.h b/compiler-rt/lib/asan/asan_descriptions.h index 72c7fcf..c6519c8 100644 --- a/compiler-rt/lib/asan/asan_descriptions.h +++ b/compiler-rt/lib/asan/asan_descriptions.h @@ -12,6 +12,8 @@ // ASan-private header for asan_descriptions.cc. // TODO(filcab): Most struct definitions should move to the interface headers. //===----------------------------------------------------------------------===// +#ifndef ASAN_DESCRIPTIONS_H +#define ASAN_DESCRIPTIONS_H #include "asan_allocator.h" #include "asan_thread.h" @@ -145,3 +147,5 @@ bool GetGlobalAddressInformation(uptr addr, GlobalAddressDescription *descr); bool DescribeAddressIfGlobal(uptr addr, uptr access_size, const char *bug_type); } // namespace __asan + +#endif // ASAN_DESCRIPTIONS_H -- 2.7.4