[all-commits] [llvm/llvm-project] 1adb55: [compiler-rt] Realtime Sanitizer: Introduce Realti...

Chris Apple via All-commits all-commits at lists.llvm.org
Tue Jul 9 11:01:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1adb55b1c4bfd21752e6b2718c3c4b8abb203d09
      https://github.com/llvm/llvm-project/commit/1adb55b1c4bfd21752e6b2718c3c4b8abb203d09
  Author: Chris Apple <cja-private at pm.me>
  Date:   2024-07-09 (Tue, 09 Jul 2024)

  Changed paths:
    M compiler-rt/CODE_OWNERS.TXT
    M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
    M compiler-rt/cmake/config-ix.cmake
    A compiler-rt/lib/rtsan/CMakeLists.txt
    A compiler-rt/lib/rtsan/rtsan.cpp
    A compiler-rt/lib/rtsan/rtsan.h
    A compiler-rt/lib/rtsan/rtsan_context.cpp
    A compiler-rt/lib/rtsan/rtsan_context.h
    A compiler-rt/lib/rtsan/rtsan_interceptors.cpp
    A compiler-rt/lib/rtsan/rtsan_interceptors.h
    A compiler-rt/lib/rtsan/rtsan_preinit.cpp
    A compiler-rt/lib/rtsan/rtsan_stack.cpp
    A compiler-rt/lib/rtsan/rtsan_stack.h
    A compiler-rt/lib/rtsan/tests/CMakeLists.txt
    A compiler-rt/lib/rtsan/tests/rtsan_test_context.cpp
    A compiler-rt/lib/rtsan/tests/rtsan_test_functional.cpp
    A compiler-rt/lib/rtsan/tests/rtsan_test_interceptors.cpp
    A compiler-rt/lib/rtsan/tests/rtsan_test_main.cpp
    A compiler-rt/lib/rtsan/tests/rtsan_test_utilities.h
    A compiler-rt/test/rtsan/CMakeLists.txt
    A compiler-rt/test/rtsan/Unit/lit.site.cfg.py.in
    A compiler-rt/test/rtsan/lit.cfg.py
    A compiler-rt/test/rtsan/lit.site.cfg.py.in

  Log Message:
  -----------
  [compiler-rt] Realtime Sanitizer: Introduce Realtime Sanitizer (RTSan) backend (#92460)

Introducing the main runtime of realtime sanitizer. For more
information, please see the [discourse
thread](https://discourse.llvm.org/t/rfc-nolock-and-noalloc-attributes/76837).
We have also put together a [reviewer support
document](https://github.com/realtime-sanitizer/radsan/blob/doc/review-support/doc/review.md)
to show what our intention is.

This review introduces the sanitizer backend. This includes:
* CMake build files (largely adapted from asan).
* Main RTSan architecture (the external API, thread local context,
stack).
* Interceptors.
* Many unit tests.

Please see the [reviewer support
document](https://github.com/realtime-sanitizer/radsan/blob/doc/review-support/doc/review.md)
for what our next steps are. We are moving in lockstep with this PR
#84983 for the codegen coming up next.

Note to reviewers: If you see support documentation mention "RADSan",
this was the "old acronym" for the realtime sanitizer, they refer to the
same thing. If you see it let us know and we can correct it (especially
in the llvm codebase)

---------

Co-authored-by: David Trevelyan <david.trevelyan at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list