[all-commits] [llvm/llvm-project] fda292: [sanitizers] Avoid macro clash in SignalContext::W...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Feb 9 00:46:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fda29264f360820859587acdfb0ad9392c944bd6
      https://github.com/llvm/llvm-project/commit/fda29264f360820859587acdfb0ad9392c944bd6
  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_symbolizer_report.cpp

  Log Message:
  -----------
  [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.

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




More information about the All-commits mailing list