[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'
This commit is contained in:
Fangrui Song 2022-02-10 20:23:22 -08:00
parent 8eb750189c
commit ffa6262cb4
1 changed files with 1 additions and 2 deletions

View File

@ -18,14 +18,13 @@
#include "llvm/Object/Error.h"
#include "llvm/Support/CBindingWrapping.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/MemoryBufferRef.h"
#include "llvm/Support/MemoryBuffer.h"
#include <memory>
#include <utility>
namespace llvm {
class LLVMContext;
class MemoryBuffer;
class StringRef;
namespace object {