[all-commits] [llvm/llvm-project] 3e43d0: This patch fixes these errors while building BOLT.

Sriraman Tallam via All-commits all-commits at lists.llvm.org
Tue Aug 2 11:23:58 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e43d0cde7193599631799f54fa915efc141e4b0
  Author: Sriraman Tallam <tmsriram at google.com>
  Date:   2022-08-02 (Tue, 02 Aug 2022)

  Changed paths:
    M bolt/include/bolt/Core/BinaryDomTree.h
    M bolt/include/bolt/Passes/RegReAssign.h
    M utils/bazel/llvm-project-overlay/bolt/BUILD.bazel

  Log Message:
  This patch fixes these errors while building BOLT.

Compiling llvm/llvm-project/bolt/include/bolt/Passes/RegReAssign.h failed:
...: error: invalid application of 'sizeof' to an incomplete type 'llvm::bolt::BinaryFunctionCallGraph'

static_assert(sizeof(_Tp) >= 0, "cannot delete an incomplete type");
error: type 'llvm::bolt::BinaryBasicBlock *' cannot be used prior to '::' because it has no members

using NodeRef = typename GraphType::UnknownGraphTypeError;
BinaryDomTree.h:31:14: error: no template named 'DomTreeGraphTraitsBase'

: public DomTreeGraphTraitsBase<bolt::BinaryDomTreeNode,

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

More information about the All-commits mailing list