[all-commits] [llvm/llvm-project] 36cae4: Reapply [sanitizers] Avoid macro clash in SignalCo...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Feb 9 01:22:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36cae4299d3225bb32d20dc525f017034ea3c3c1
      https://github.com/llvm/llvm-project/commit/36cae4299d3225bb32d20dc525f017034ea3c3c1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-09 (Wed, 09 Feb 2022)

  Changed paths:
    M compiler-rt/lib/asan/asan_errors.h
    M compiler-rt/lib/sanitizer_common/sanitizer_common.h
    M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_report.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_win.cpp

  Log Message:
  -----------
  Reapply [sanitizers] Avoid macro clash in SignalContext::WriteFlag (NFC)

D116208 may cause a macro clash on older versions of linux, where
fs.h defines a READ macro. This is resolved by switching to a more
typical casing style for non-macro symbols.

Reapplying with changes to the symbol names in various platform
specific code, which I missed previously.

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




More information about the All-commits mailing list