[all-commits] [llvm/llvm-project] fda121: tsan: remove TSAN_MID_APP_RANGE macro

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Aug 10 11:04:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fda121a9cc7ecf9808efb26d8070a0c74060408b
      https://github.com/llvm/llvm-project/commit/fda121a9cc7ecf9808efb26d8070a0c74060408b
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_platform.h
    M compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp

  Log Message:
  -----------
  tsan: remove TSAN_MID_APP_RANGE macro

First, the define conflicts with definition/testing of all mappings,
since it's not a global property anymore. Second, macros/ifdefs are bad.
Define kMidAppMemBeg/End to 0 to denote that there is no "mid" range instead.

Depends on D107736.

Reviewed By: melver

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




More information about the All-commits mailing list