[all-commits] [llvm/llvm-project] cf4aa6: [RISCV][ASAN] mark asan as supported for RISCV64 a...
Alex via All-commits
all-commits at lists.llvm.org
Mon Oct 5 00:39:02 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cf4aa68388025a731236bc6dbe113ffdfe14c6c2
https://github.com/llvm/llvm-project/commit/cf4aa68388025a731236bc6dbe113ffdfe14c6c2
Author: Alexey Baturo <space.monkey.delivers at gmail.com>
Date: 2020-10-05 (Mon, 05 Oct 2020)
Changed paths:
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/asan/scripts/asan_symbolize.py
M compiler-rt/lib/asan/tests/asan_test.cpp
M compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
M compiler-rt/test/asan/CMakeLists.txt
M compiler-rt/test/asan/TestCases/Linux/ptrace.cpp
M compiler-rt/test/asan/TestCases/Linux/vfork.cpp
Log Message:
-----------
[RISCV][ASAN] mark asan as supported for RISCV64 and enable tests
[11/11] patch series to port ASAN for riscv64
These changes allow using ASAN on RISCV64 architecture.
The majority of existing tests are passing. With few exceptions (see below).
Tests we run on qemu and on "HiFive Unleashed" board.
Tests run:
```
Asan-riscv64-inline-Test - pass
Asan-riscv64-inline-Noinst-Test - pass
Asan-riscv64-calls-Noinst-Test - pass
Asan-riscv64-calls-Test - pass
```
Lit tests:
```
RISCV64LinuxConfig (282 supported, few failures)
RISCV64LinuxDynamicConfig (289 supported, few failures)
```
Lit failures:
```
TestCases/malloc_context_size.cpp - asan works, but backtrace misses some calls
TestCases/Linux/malloc_delete_mismatch.cpp - asan works, but backtrace misses some calls
TestCases/Linux/static_tls.cpp - "Can't guess glibc version" (under debugging)
TestCases/asan_and_llvm_coverage_test.cpp - missing libclang_rt.profile-riscv64.a
```
These failures are under debugging currently and shall be addressed in a
subsequent commits.
Depends On D87581
Reviewed By: eugenis, vitalybuka
Differential Revision: https://reviews.llvm.org/D87582
More information about the All-commits
mailing list