[all-commits] [llvm/llvm-project] 014c6b: sanitizer_common: fix ParseUnixMemoryProfile test ...

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Oct 29 07:26:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 014c6b07362c8f70638da64526034abd097c8abb
      https://github.com/llvm/llvm-project/commit/014c6b07362c8f70638da64526034abd097c8abb
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-10-29 (Fri, 29 Oct 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/tests/sanitizer_procmaps_test.cpp

  Log Message:
  -----------
  sanitizer_common: fix ParseUnixMemoryProfile test linking on Mac

The ParseUnixMemoryProfile function is defined only for a subset
of platforms. Define the test for the same set of platforms.

Also disable the test for 32-bit platforms b/c the pointer
values used in the test are 64-bit and don't fit into 32-bit uptr.

Reported-by: Jan Svoboda (jansvoboda11)

Reviewed By: melver

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




More information about the All-commits mailing list