summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2016-08-18 13:22:00 +0000
committerFilipe Cabecinhas <me@filcab.net>2016-08-18 13:22:00 +0000
commit391438a08dbfcee40fbb84b5f600698c733a8abf (patch)
treebc469fd2b259dbe2bff040153bef58be818a167d
parent3447ca3f0848738b474bc7a5f851eaa1052d7171 (diff)
downloadbcm5719-llvm-391438a08dbfcee40fbb84b5f600698c733a8abf.tar.gz
bcm5719-llvm-391438a08dbfcee40fbb84b5f600698c733a8abf.zip
Add header guards to asan_descriptions.h
llvm-svn: 279062
-rw-r--r--compiler-rt/lib/asan/asan_descriptions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_descriptions.h b/compiler-rt/lib/asan/asan_descriptions.h
index 72c7fcf5069..c6519c89c0e 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
OpenPOWER on IntegriCloud