libsanitizer: enable libubsan and libasan for loongarch64-*-linux*

Message ID 20220831055445.8808-1-xry111@xry111.site
State New, archived
Headers
Series libsanitizer: enable libubsan and libasan for loongarch64-*-linux* |

Commit Message

Xi Ruoyao Aug. 31, 2022, 5:54 a.m. UTC
  The LoongArch support for libubsan and libasan has been added in:

- https://reviews.llvm.org/D129371
- https://reviews.llvm.org/D129418

and we've merged them in r13-2269.  It's time to enable them.

No unexpected failures in GCC asan.exp and ubsan.exp tests.

libsanitizer/ChangeLog:

	* configure.tgt: Allow loongarch64-*-linux*.
---
 libsanitizer/configure.tgt | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

chenglulu Aug. 31, 2022, 6:20 a.m. UTC | #1
OK!

Thanks!

在 2022/8/31 下午1:54, Xi Ruoyao 写道:
> The LoongArch support for libubsan and libasan has been added in:
>
> - https://reviews.llvm.org/D129371
> - https://reviews.llvm.org/D129418
>
> and we've merged them in r13-2269.  It's time to enable them.
>
> No unexpected failures in GCC asan.exp and ubsan.exp tests.
>
> libsanitizer/ChangeLog:
>
> 	* configure.tgt: Allow loongarch64-*-linux*.
> ---
>   libsanitizer/configure.tgt | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
> index fb89df4935c..87d8a2c3820 100644
> --- a/libsanitizer/configure.tgt
> +++ b/libsanitizer/configure.tgt
> @@ -72,6 +72,8 @@ case "${target}" in
>   	;;
>     riscv64-*-linux*)
>   	;;
> +  loongarch64-*-linux*)
> +	;;
>     *)
>   	UNSUPPORTED=1
>   	;;
  

Patch

diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index fb89df4935c..87d8a2c3820 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -72,6 +72,8 @@  case "${target}" in
 	;;
   riscv64-*-linux*)
 	;;
+  loongarch64-*-linux*)
+	;;
   *)
 	UNSUPPORTED=1
 	;;