[all-commits] [llvm/llvm-project] 928972: [scudo] Initialize local variable to avoid compile...

Dominic Chen via All-commits all-commits at lists.llvm.org
Tue Mar 29 14:26:33 PDT 2022


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

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

  Log Message:
  -----------
  [scudo] Initialize local variable to avoid compiler warning

Compiler warns about HeaderPos possibly being uninitialized which should not be possible, but just initialize it anyway

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


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

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

  Log Message:
  -----------
  [scudo] Fix definition of canCache() function

The called member function has boolean type, change this function to match

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


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

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

  Log Message:
  -----------
  [scudo] Add missing include for extern variable declaration

Add include to resolve compiler warning about no previous extern declaration for non-static HashAlgorithm

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


  Commit: 686dcbe8b018759b5443c05bfeeb7abf4d9cf09c
      https://github.com/llvm/llvm-project/commit/686dcbe8b018759b5443c05bfeeb7abf4d9cf09c
  Author: Dominic Chen <ddchen at apple.com>
  Date:   2022-03-29 (Tue, 29 Mar 2022)

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

  Log Message:
  -----------
  [scudo] Add noreturn/pragma to suppress compiler warnings

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


Compare: https://github.com/llvm/llvm-project/compare/35dab904c09b...686dcbe8b018


More information about the All-commits mailing list