[all-commits] [llvm/llvm-project] 91bc4a: [sanitizer][test] Fix FastUnwindTest on LoongArch

Lu Weining via All-commits all-commits at lists.llvm.org
Wed Nov 9 21:36:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 91bc4abfdba65a0ef7e40915bdff62324bccf2f2
      https://github.com/llvm/llvm-project/commit/91bc4abfdba65a0ef7e40915bdff62324bccf2f2
  Author: Youling Tang <tangyouling at loongson.cn>
  Date:   2022-11-10 (Thu, 10 Nov 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_stacktrace_test.cpp

  Log Message:
  -----------
  [sanitizer][test] Fix FastUnwindTest on LoongArch

Fixes the `FastUnwindTest` unit test for LoongArch.
This change is similar to RISCV D90574.

The following test cases pass after applying the patch:
```
$ ./runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/Sanitizer-loongarch64-Test
...
[  FAILED  ] FastUnwindTest.Basic
[  FAILED  ] FastUnwindTest.FramePointerLoop
[  FAILED  ] FastUnwindTest.MisalignedFramePointer
[  FAILED  ] FastUnwindTest.FPBelowPrevFP
[  FAILED  ] FastUnwindTest.CloseToZeroFrame
```

Reviewed By: SixWeining, xen0n, MaskRay

Differential Revision: https://reviews.llvm.org/D137314




More information about the All-commits mailing list