[all-commits] [llvm/llvm-project] 944b3c: [NFC][compiler-rt][hwasan] Move allocation functio...

Leonard Chan via All-commits all-commits at lists.llvm.org
Tue Jun 8 12:09:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 944b3c53aec54c205d6898ffca548a484309e139
      https://github.com/llvm/llvm-project/commit/944b3c53aec54c205d6898ffca548a484309e139
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M compiler-rt/lib/hwasan/CMakeLists.txt
    M compiler-rt/lib/hwasan/hwasan.h
    A compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp
    M compiler-rt/lib/hwasan/hwasan_interceptors.cpp

  Log Message:
  -----------
  [NFC][compiler-rt][hwasan] Move allocation functions into their own file

This removes the `__sanitizer_*` allocation function definitions from
`hwasan_interceptors.cpp` and moves them into their own file. This way
implementations that do not use interceptors at all can just ignore
(almost) everything in `hwasan_interceptors.cpp`.

Also remove some unused headers in `hwasan_interceptors.cpp` after the move.

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




More information about the All-commits mailing list