[compiler-rt] d1dc504 - [asan] Fix a comment

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 11:18:44 PDT 2024


Author: Fangrui Song
Date: 2024-07-12T11:18:40-07:00
New Revision: d1dc5047f1127d64eb82eec976fabaa2d9d20c11

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

LOG: [asan] Fix a comment

Added: 
    

Modified: 
    compiler-rt/lib/asan/asan_preinit.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/asan/asan_preinit.cpp b/compiler-rt/lib/asan/asan_preinit.cpp
index a4923124519b9..23169383bb74c 100644
--- a/compiler-rt/lib/asan/asan_preinit.cpp
+++ b/compiler-rt/lib/asan/asan_preinit.cpp
@@ -15,7 +15,7 @@
 using namespace __asan;
 
 #if SANITIZER_CAN_USE_PREINIT_ARRAY
-// This section is linked into the main executable when -fsanitize=hwaddress is
+// This section is linked into the main executable when -fsanitize=address is
 // specified to perform initialization at a very early stage.
 __attribute__((section(".preinit_array"), used)) static auto preinit =
     __asan_init;


        


More information about the llvm-commits mailing list