Add header guards to asan_descriptions.h
authorFilipe Cabecinhas <me@filcab.net>
Thu, 18 Aug 2016 13:22:00 +0000 (13:22 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Thu, 18 Aug 2016 13:22:00 +0000 (13:22 +0000)
llvm-svn: 279062

compiler-rt/lib/asan/asan_descriptions.h

index 72c7fcf..c6519c8 100644 (file)
@@ -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