[all-commits] [llvm/llvm-project] a53ea5: [lsan] ppc64: dynamically pick address range for a...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Mar 11 20:16:31 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a53ea51dec34e0825bc44d7789e904964c4105ff
      https://github.com/llvm/llvm-project/commit/a53ea51dec34e0825bc44d7789e904964c4105ff
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-03-11 (Fri, 11 Mar 2022)

  Changed paths:
    M compiler-rt/lib/lsan/lsan_allocator.h

  Log Message:
  -----------
  [lsan] ppc64: dynamically pick address range for allocator

For ppc64 PIE, it seems that [0xa00000000000,0xc00000000000) may be occupied
which will lead to a segfault in certain kernel configurations
(clang-ppc64le-rhel). Use the `!kUsingConstantSpaceBeg` code path like Fuchsia.

Reviewed By: jsji

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




More information about the All-commits mailing list