]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libsanitizer: enable libubsan and libasan for loongarch64-*-linux*
authorXi Ruoyao <xry111@xry111.site>
Wed, 31 Aug 2022 05:46:22 +0000 (13:46 +0800)
committerXi Ruoyao <xry111@xry111.site>
Wed, 31 Aug 2022 05:54:08 +0000 (13:54 +0800)
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

index fb89df4935cc24ef21e13ef9aae68fb78b87f43e..87d8a2c382061514989d77dd5394233b5999859e 100644 (file)
@@ -72,6 +72,8 @@ case "${target}" in
        ;;
   riscv64-*-linux*)
        ;;
+  loongarch64-*-linux*)
+       ;;
   *)
        UNSUPPORTED=1
        ;;