[all-commits] [llvm/llvm-project] 484b66: scudo: Only static_assert for compressed LSB forma...

pcc via All-commits all-commits at lists.llvm.org
Thu Apr 22 16:12:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 484b6648fdd4b104eaf7a2504dd07b60af2c9f8d
      https://github.com/llvm/llvm-project/commit/484b6648fdd4b104eaf7a2504dd07b60af2c9f8d
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

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

  Log Message:
  -----------
  scudo: Only static_assert for compressed LSB format with clang.

It looks like there's some old version of gcc that doesn't like this
static_assert (I couldn't reproduce the issue with gcc 8, 9 or 10).
Work around the issue by only checking the static_assert under clang,
which should provide sufficient coverage.

Should hopefully fix this buildbot:
https://lab.llvm.org/buildbot/#/builders/112/builds/5356




More information about the All-commits mailing list