[llvm] 985cfad - DWARFLinkerDeclContext.h - fix implicit FileSystem.h dependency. NFC.

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


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

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

LOG: DWARFLinkerDeclContext.h - fix implicit FileSystem.h dependency. NFC.

Was relying on other headers to define sys::fs::real_path for use in CachedPathResolver::resolve inlines

Added: 
    

Modified: 
    llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h b/llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
index db40254bf600..e59e15f00a7e 100644
--- a/llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
+++ b/llvm/include/llvm/DWARFLinker/DWARFLinkerDeclContext.h
@@ -16,6 +16,7 @@
 #include "llvm/CodeGen/NonRelocatableStringpool.h"
 #include "llvm/DWARFLinker/DWARFLinkerCompileUnit.h"
 #include "llvm/DebugInfo/DWARF/DWARFDie.h"
+#include "llvm/Support/FileSystem.h"
 #include "llvm/Support/Path.h"
 
 namespace llvm {


        


More information about the llvm-commits mailing list