[lld] 0847cfa - [lld][macho] Fix implicit dependency on DenseMap.h include

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 06:05:45 PDT 2020


Author: Simon Pilgrim
Date: 2020-04-27T14:05:29+01:00
New Revision: 0847cfa334d01d941e9dafd18ff0cd1d9c27606e

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

LOG: [lld][macho] Fix implicit dependency on DenseMap.h include

It was depending on CachedHashString.h providing the include.

Added: 
    

Modified: 
    lld/MachO/SymbolTable.h

Removed: 
    


################################################################################
diff  --git a/lld/MachO/SymbolTable.h b/lld/MachO/SymbolTable.h
index 95e7a88a38da..b4b10c684a81 100644
--- a/lld/MachO/SymbolTable.h
+++ b/lld/MachO/SymbolTable.h
@@ -11,6 +11,7 @@
 
 #include "lld/Common/LLVM.h"
 #include "llvm/ADT/CachedHashString.h"
+#include "llvm/ADT/DenseMap.h"
 #include "llvm/Object/Archive.h"
 
 namespace lld {


        


More information about the llvm-commits mailing list