Skip to content

Commit 28e9954

Browse files
authored
llvm: Add missing VirtualFileSystem.h include (#171848)
`vfs::FileSystem` is forward-declared in `SanitizerBinaryMetadata.h`. The corresponding header must be included in any source file that includes that header, or we risk issues when building with `LLVM_BUILD_LLVM_DYLIB` to build LLVM as a DLL on Windows. This effort is tracked in #109483.
1 parent 5fcf712 commit 28e9954

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/SanitizerBinaryMetadata.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "llvm/IR/MDBuilder.h"
2121
#include "llvm/InitializePasses.h"
2222
#include "llvm/Pass.h"
23+
#include "llvm/Support/VirtualFileSystem.h"
2324
#include "llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h"
2425
#include <algorithm>
2526

0 commit comments

Comments
 (0)