[compiler-rt] r338700 - Add header guard to asan_report.h
Filipe Cabecinhas via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 2 04:05:07 PDT 2018
Author: filcab
Date: Thu Aug 2 04:05:07 2018
New Revision: 338700
URL: http://llvm.org/viewvc/llvm-project?rev=338700&view=rev
Log:
Add header guard to asan_report.h
Modified:
compiler-rt/trunk/lib/asan/asan_report.h
Modified: compiler-rt/trunk/lib/asan/asan_report.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_report.h?rev=338700&r1=338699&r2=338700&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_report.h (original)
+++ compiler-rt/trunk/lib/asan/asan_report.h Thu Aug 2 04:05:07 2018
@@ -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
BufferedStackTrace *stack);
} // namespace __asan
+#endif // ASAN_REPORT_H
More information about the llvm-commits
mailing list