[all-commits] [llvm/llvm-project] a6b7f3: [scudo] Remove unused vector value initializer

Dominic Chen via All-commits all-commits at lists.llvm.org
Thu Mar 17 10:17:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a6b7f3189578e466a506793c971c860b057880d7
      https://github.com/llvm/llvm-project/commit/a6b7f3189578e466a506793c971c860b057880d7
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp

  Log Message:
  -----------
  [scudo] Remove unused vector value initializer

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


  Commit: e53641927918e1ac0281b6e57a1b2d8e3ad98bb5
      https://github.com/llvm/llvm-project/commit/e53641927918e1ac0281b6e57a1b2d8e3ad98bb5
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tsd_exclusive.h

  Log Message:
  -----------
  [scudo] Explicitly mark enum as unsigned

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


  Commit: 4787e5c34ec8f710f545e33285b7a121eaf05e54
      https://github.com/llvm/llvm-project/commit/4787e5c34ec8f710f545e33285b7a121eaf05e54
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/primary64.h

  Log Message:
  -----------
  [scudo] Don't unmap other low memory pages if mapping doesn't exist

Tests can register multiple allocators, but only the first will initialize since it initializes the TSDRegistrySharedT. Then, destruction of subsequent allocator may end up unmapping a nullptr PrimaryBase with non-zero PrimarySize.

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


  Commit: 7abd6837a0a0bc256ff1c4ec458ec1fa935eb687
      https://github.com/llvm/llvm-project/commit/7abd6837a0a0bc256ff1c4ec458ec1fa935eb687
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/combined.h

  Log Message:
  -----------
  [scudo] Use nullptr instead of integer-to-pointer cast

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


  Commit: 03e82d94fcbe8fcb66a10c02ee1df76149fc518f
      https://github.com/llvm/llvm-project/commit/03e82d94fcbe8fcb66a10c02ee1df76149fc518f
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/memtag_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp

  Log Message:
  -----------
  [scudo] Fix test harness integration

Explicitly specify the class name to avoid selecting the wrong Run function, and inherit from the correct Test parent

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


  Commit: 6ce08d5c278609de8c53861e30e613030cc9c1de
      https://github.com/llvm/llvm-project/commit/6ce08d5c278609de8c53861e30e613030cc9c1de
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/primary_test.cpp
    M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp

  Log Message:
  -----------
  [scudo][tests] Pass read-only vector by reference

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


Compare: https://github.com/llvm/llvm-project/compare/84c6689b1511...6ce08d5c2786


More information about the All-commits mailing list