[all-commits] [llvm/llvm-project] 8e30b5: [scudo] Fix CHECK implementation

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue May 25 10:56:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e30b55c82cc245f8b59ef3b29d95c9797584b63
      https://github.com/llvm/llvm-project/commit/8e30b55c82cc245f8b59ef3b29d95c9797584b63
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/internal_defs.h
    M compiler-rt/lib/scudo/standalone/report.cpp
    M compiler-rt/lib/scudo/standalone/tests/report_test.cpp

  Log Message:
  -----------
  [scudo] Fix CHECK implementation

Cast of signed types to u64 breaks comparison.
Also remove double () around operands.

Reviewed By: cryptoad, hctim

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




More information about the All-commits mailing list