[gcc r13-2912] LoongArch: Fixed a typo in the comment information of the function loongarch_asan_shadow_offset.

LuluCheng chenglulu@gcc.gnu.org
Wed Sep 28 08:44:53 GMT 2022


https://gcc.gnu.org/g:646ce0056ed84bcc71d52cb07c61d0bf331f91c3

commit r13-2912-g646ce0056ed84bcc71d52cb07c61d0bf331f91c3
Author: Lulu Cheng <chenglulu@loongson.cn>
Date:   Wed Sep 28 16:35:06 2022 +0800

    LoongArch: Fixed a typo in the comment information of the function loongarch_asan_shadow_offset.
    
    gcc/ChangeLog:
    
            * config/loongarch/loongarch.cc (loongarch_asan_shadow_offset):
            Fixed typo in "asan_mapping.h".

Diff:
---
 gcc/config/loongarch/loongarch.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/loongarch/loongarch.cc b/gcc/config/loongarch/loongarch.cc
index 98c0e26cdb9..e9ba3374e35 100644
--- a/gcc/config/loongarch/loongarch.cc
+++ b/gcc/config/loongarch/loongarch.cc
@@ -6472,7 +6472,7 @@ static unsigned HOST_WIDE_INT
 loongarch_asan_shadow_offset (void)
 {
   /* We only have libsanitizer support for LOONGARCH64 at present.
-     This value is taken from the file libsanitizer/asan/asan_mappint.h.  */
+     This value is taken from the file libsanitizer/asan/asan_mapping.h.  */
   return TARGET_64BIT ? (HOST_WIDE_INT_1 << 46) : 0;
 }


More information about the Gcc-cvs mailing list