summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2018-08-02 11:05:07 +0000
committerFilipe Cabecinhas <me@filcab.net>2018-08-02 11:05:07 +0000
commit440e96f2f769b27f705936e34328ecca282f5a32 (patch)
tree3b48bdd458d62caebf865458da61dec1ec9afa01
parent6fe30771aacb605131f749231060fc9b10aca751 (diff)
downloadbcm5719-llvm-440e96f2f769b27f705936e34328ecca282f5a32.tar.gz
bcm5719-llvm-440e96f2f769b27f705936e34328ecca282f5a32.zip
Add header guard to asan_report.h
llvm-svn: 338700
-rw-r--r--compiler-rt/lib/asan/asan_report.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_report.h b/compiler-rt/lib/asan/asan_report.h
index f7153d4810d..b0c167dda75 100644
--- a/compiler-rt/lib/asan/asan_report.h
+++ b/compiler-rt/lib/asan/asan_report.h
@@ -12,6 +12,9 @@
// ASan-private header for error reporting functions.
//===----------------------------------------------------------------------===//
+#ifndef ASAN_REPORT_H
+#define ASAN_REPORT_H
+
#include "asan_allocator.h"
#include "asan_internal.h"
#include "asan_thread.h"
@@ -92,3 +95,4 @@ void ReportMacCfReallocUnknown(uptr addr, uptr zone_ptr,
BufferedStackTrace *stack);
} // namespace __asan
+#endif // ASAN_REPORT_H
OpenPOWER on IntegriCloud