Author: Jonas Devlieghere
Date: 2022-09-19T17:37:27-07:00
New Revision: d3a536fa933bba5ffad48d7e5ab7de6f358550e7

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

LOG: [lldb] Appease the MSCV compiler

Fix error C2027: use of undefined type 'llvm::MemoryBuffer'.

Added: 
    

Modified: 
    lldb/include/lldb/Core/DataFileCache.h
    lldb/source/Core/DataFileCache.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Core/DataFileCache.h 
b/lldb/include/lldb/Core/DataFileCache.h
index 300c4842d9d2..b6cc3cd8f1cc 100644
--- a/lldb/include/lldb/Core/DataFileCache.h
+++ b/lldb/include/lldb/Core/DataFileCache.h
@@ -16,6 +16,8 @@
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/Support/CachePruning.h"
 #include "llvm/Support/Caching.h"
+#include "llvm/Support/MemoryBuffer.h"
+
 #include <mutex>
 
 namespace lldb_private {

diff  --git a/lldb/source/Core/DataFileCache.cpp 
b/lldb/source/Core/DataFileCache.cpp
index a678cd91efb8..36efccd296a3 100644
--- a/lldb/source/Core/DataFileCache.cpp
+++ b/lldb/source/Core/DataFileCache.cpp
@@ -15,7 +15,6 @@
 #include "lldb/Utility/LLDBLog.h"
 #include "lldb/Utility/Log.h"
 #include "llvm/Support/CachePruning.h"
-#include "llvm/Support/MemoryBuffer.h"
 
 using namespace lldb_private;
 


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to