[compiler-rt] 74277e2 - [NFC] Allow to include sanitizer_allocator_bytemap.h

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 10 22:24:03 PDT 2021


Author: Vitaly Buka
Date: 2021-10-10T22:23:48-07:00
New Revision: 74277e254c55a8bed1a9af5e6326b21b0611c3b1

URL: https://github.com/llvm/llvm-project/commit/74277e254c55a8bed1a9af5e6326b21b0611c3b1
DIFF: https://github.com/llvm/llvm-project/commit/74277e254c55a8bed1a9af5e6326b21b0611c3b1.diff

LOG: [NFC] Allow to include sanitizer_allocator_bytemap.h

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/sanitizer_allocator_bytemap.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/sanitizer_allocator_bytemap.h b/compiler-rt/lib/sanitizer_common/sanitizer_allocator_bytemap.h
index 0084bb62c83c8..7926a07bee6dd 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_allocator_bytemap.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_allocator_bytemap.h
@@ -9,9 +9,8 @@
 // Part of the Sanitizer Allocator.
 //
 //===----------------------------------------------------------------------===//
-#ifndef SANITIZER_ALLOCATOR_H
-#error This file must be included inside sanitizer_allocator.h
-#endif
+
+#include "sanitizer_local_address_space_view.h"
 
 // Maps integers in rage [0, kSize) to u8 values.
 template <u64 kSize, typename AddressSpaceViewTy = LocalAddressSpaceView>


        


More information about the llvm-commits mailing list