[all-commits] [llvm/llvm-project] 19edfb: [GWP-ASan] Add GWP_ASAN_ prefix to macros.

Mitch Phillips via All-commits all-commits at lists.llvm.org
Mon Nov 25 12:27:08 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 19edfb37282ade36c502d8fcea9c915c443474c9
      https://github.com/llvm/llvm-project/commit/19edfb37282ade36c502d8fcea9c915c443474c9
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2019-11-25 (Mon, 25 Nov 2019)

  Changed paths:
    M compiler-rt/lib/gwp_asan/definitions.h
    M compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
    M compiler-rt/lib/gwp_asan/guarded_pool_allocator.h

  Log Message:
  -----------
  [GWP-ASan] Add GWP_ASAN_ prefix to macros.

Summary:
When platforms use their own `LIKELY()` definitions, it can be quite
troublesome to ensure they don't conflict with the GWP-ASan internal
definitions. Just force the GWP_ASAN_ prefix to help this issue.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: #sanitizers, llvm-commits, cferris, pcc

Tags: #sanitizers, #llvm

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




More information about the All-commits mailing list