[all-commits] [llvm/llvm-project] ffa626: [Object] Include llvm/Support/MemoryBuffer.h after...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Feb 10 20:23:34 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffa6262cb4e2a335d26416fad39a581b4f98c5f4
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M llvm/include/llvm/Object/Binary.h

  Log Message:
  [Object] Include llvm/Support/MemoryBuffer.h after D119457

libc++ -DLLVM_ENABLE_MODULES=on build needs the complete type. This fixes

error: invalid application of 'sizeof' to an incomplete type 'llvm::MemoryBuffer'

More information about the All-commits mailing list