[compiler-rt] f4f588a - [TSan] Fix comment describing shadow memory layout

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 16:56:10 PDT 2023


Author: Julian Lettner
Date: 2023-04-19T16:56:04-07:00
New Revision: f4f588ab0bcdc31a05212c629b16bbc4e9a93377

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

LOG: [TSan] Fix comment describing shadow memory layout

Differential Revision: https://reviews.llvm.org/D148648

Added: 
    

Modified: 
    compiler-rt/lib/tsan/rtl/tsan_platform.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/tsan/rtl/tsan_platform.h b/compiler-rt/lib/tsan/rtl/tsan_platform.h
index 5a92187f1431..f0cdaf48eaa3 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_platform.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_platform.h
@@ -50,8 +50,8 @@ C/C++ on linux/x86_64 and freebsd/x86_64
 0040 0000 0000 - 0100 0000 0000: -
 0100 0000 0000 - 1000 0000 0000: shadow
 1000 0000 0000 - 3000 0000 0000: -
-3000 0000 0000 - 4000 0000 0000: metainfo (memory blocks and sync objects)
-4000 0000 0000 - 5500 0000 0000: -
+3000 0000 0000 - 3400 0000 0000: metainfo (memory blocks and sync objects)
+3400 0000 0000 - 5500 0000 0000: -
 5500 0000 0000 - 5680 0000 0000: pie binaries without ASLR or on 4.1+ kernels
 5680 0000 0000 - 7d00 0000 0000: -
 7b00 0000 0000 - 7c00 0000 0000: heap


        


More information about the llvm-commits mailing list