加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
LoongArch-Fixed-a-typo-in-the-comment-information-of.patch 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
ticat_fp 提交于 2024-03-26 09:26 . LoongArch: update from gcc upstream
From cbb5f181544e35b119fee4ed150bec24eee7179c Mon Sep 17 00:00:00 2001
From: Lulu Cheng <chenglulu@loongson.cn>
Date: Wed, 28 Sep 2022 16:35:06 +0800
Subject: [PATCH 020/124] 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".
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
Signed-off-by: ticat_fp <fanpeng@loongson.cn>
---
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 98c0e26cd..e9ba3374e 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;
}
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化