[llvm] fb99a09 - SanitizerCoverage.h - fix implicit VirtualFileSystem.h dependency. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 04:12:29 PDT 2020


Author: Simon Pilgrim
Date: 2020-06-23T12:11:51+01:00
New Revision: fb99a09d7827fcb0384814f5580e1d91aa1a4c5c

URL: https://github.com/llvm/llvm-project/commit/fb99a09d7827fcb0384814f5580e1d91aa1a4c5c
DIFF: https://github.com/llvm/llvm-project/commit/fb99a09d7827fcb0384814f5580e1d91aa1a4c5c.diff

LOG: SanitizerCoverage.h - fix implicit VirtualFileSystem.h dependency. NFC.

Was relying on other headers to define vfs::getRealFileSystem() for use in inline functions

Added: 
    

Modified: 
    llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h b/llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h
index b2edfe11d58f..999086a29f87 100644
--- a/llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h
+++ b/llvm/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h
@@ -19,6 +19,7 @@
 #include "llvm/IR/Module.h"
 #include "llvm/IR/PassManager.h"
 #include "llvm/Support/SpecialCaseList.h"
+#include "llvm/Support/VirtualFileSystem.h"
 #include "llvm/Transforms/Instrumentation.h"
 
 namespace llvm {


        


More information about the llvm-commits mailing list