From: Filipe Cabecinhas Date: Thu, 18 Aug 2016 13:22:00 +0000 (+0000) Subject: Add header guards to asan_descriptions.h X-Git-Tag: llvmorg-4.0.0-rc1~12088 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=391438a08dbfcee40fbb84b5f600698c733a8abf;p=platform%2Fupstream%2Fllvm.git Add header guards to asan_descriptions.h llvm-svn: 279062 --- 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