This is an archive of the discontinued LLVM Phabricator instance.

[RISC-V] Add support for AddressSanitizer
AbandonedPublic

Authored by joshua-arch1 on Jul 27 2020, 10:50 PM.

Details

Summary

compiler-rt/

    
* cmake/config-ix.cmake: New options for RISCV32 and RISCV64.
* test/asan/CMakeLists.txt: Ditto.

Diff Detail

Event Timeline

joshua-arch1 created this revision.Jul 27 2020, 10:50 PM
joshua-arch1 requested review of this revision.Jul 27 2020, 10:50 PM
joshua-arch1 added reviewers: kito-cheng, Jim.

There is only support for 64-bit RISC-V in the sanitizer implementation: rG977205b595c. Until the 32-bit risc-v linux ABI is stable, this should not be landed.

joshua-arch1 updated this revision to Diff 281888.EditedJul 30 2020, 5:24 AM

I have removed support for 32-bit RISC-V in Linux sanitizer implementation. Please review it.

This comment was removed by joshua-arch1.

There is only support for 64-bit RISC-V in the sanitizer implementation: rG977205b595c. Until the 32-bit risc-v linux ABI is stable, this should not be landed.

Have my patch been reviewed?

joshua-arch1 abandoned this revision.Aug 20 2020, 4:11 AM