[all-commits] [llvm/llvm-project] a8520f: [GWP-ASan] Minor refactor of optional components.

Mitch Phillips via All-commits all-commits at lists.llvm.org
Thu Jan 14 11:14:52 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a8520f6970fd4d44ceae1ec5969563a0dbe30f54
      https://github.com/llvm/llvm-project/commit/a8520f6970fd4d44ceae1ec5969563a0dbe30f54
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    M compiler-rt/lib/gwp_asan/optional/backtrace.h
    M compiler-rt/lib/gwp_asan/optional/backtrace_fuchsia.cpp
    M compiler-rt/lib/gwp_asan/optional/backtrace_linux_libc.cpp
    M compiler-rt/lib/gwp_asan/optional/backtrace_sanitizer_common.cpp
    A compiler-rt/lib/gwp_asan/optional/printf.h
    M compiler-rt/lib/gwp_asan/optional/segv_handler.h
    M compiler-rt/lib/gwp_asan/optional/segv_handler_fuchsia.cpp
    M compiler-rt/lib/gwp_asan/optional/segv_handler_posix.cpp
    M compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
    M compiler-rt/lib/gwp_asan/tests/harness.h
    R compiler-rt/lib/gwp_asan/tests/optional/printf_sanitizer_common.cpp
    A compiler-rt/lib/gwp_asan/tests/platform_specific/printf_sanitizer_common.cpp
    M compiler-rt/lib/scudo/scudo_allocator.cpp
    M compiler-rt/lib/scudo/standalone/combined.h

  Log Message:
  -----------
  [GWP-ASan] Minor refactor of optional components.

In preparation for the inbuilt options parser, this is a minor refactor
of optional components including:
 - Putting certain optional elements in the right header files,
 according to their function and their dependencies.
 - Cleaning up some old and mostly-dead code.
 - Moving some functions into anonymous namespaces to prevent symbol
 export.

Reviewed By: cryptoad, eugenis

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




More information about the All-commits mailing list