File tree Expand file tree Collapse file tree 6 files changed +12
-4
lines changed
Expand file tree Collapse file tree 6 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1313#ifndef LLVM_SUPPORT_HOST_H
1414#define LLVM_SUPPORT_HOST_H
1515
16- #include " llvm/ADT/StringMap.h"
17-
1816#include < string>
1917
2018namespace llvm {
19+ class MallocAllocator ;
20+ class StringRef ;
21+ template <typename ValueTy, typename AllocatorTy> class StringMap ;
22+
2123namespace sys {
2224
2325 // / getDefaultTargetTriple() - Return the default target triple the compiler
@@ -50,7 +52,7 @@ namespace sys {
5052 // / all valid LLVM feature names.
5153 // /
5254 // / \return - True on success.
53- bool getHostCPUFeatures (StringMap<bool > &Features);
55+ bool getHostCPUFeatures (StringMap<bool , MallocAllocator > &Features);
5456
5557 // / Get the number of physical cores (as opposed to logical cores returned
5658 // / from thread::hardware_concurrency(), which includes hyperthreads).
Original file line number Diff line number Diff line change 1313#ifndef LIB_EXECUTIONENGINE_JITLINK_MACHOLINKGRAPHBUILDER_H
1414#define LIB_EXECUTIONENGINE_JITLINK_MACHOLINKGRAPHBUILDER_H
1515
16+ #include " llvm/ADT/DenseMap.h"
17+ #include " llvm/ADT/StringMap.h"
1618#include " llvm/ExecutionEngine/JITLink/JITLink.h"
1719
1820#include " EHFrameSupportImpl.h"
Original file line number Diff line number Diff line change 1212
1313#include " llvm/Object/ArchiveWriter.h"
1414#include " llvm/ADT/ArrayRef.h"
15+ #include " llvm/ADT/StringMap.h"
1516#include " llvm/ADT/StringRef.h"
1617#include " llvm/BinaryFormat/Magic.h"
1718#include " llvm/IR/LLVMContext.h"
Original file line number Diff line number Diff line change 1313
1414#include " llvm/ADT/FoldingSet.h"
1515#include " llvm/ADT/Hashing.h"
16+ #include " llvm/ADT/StringRef.h"
1617#include " llvm/Support/Allocator.h"
1718#include " llvm/Support/ErrorHandling.h"
1819#include " llvm/Support/Host.h"
Original file line number Diff line number Diff line change 1111// ===----------------------------------------------------------------------===//
1212
1313#include " llvm/Support/Host.h"
14- #include " llvm/Support/TargetParser.h"
1514#include " llvm/ADT/SmallSet.h"
1615#include " llvm/ADT/SmallVector.h"
16+ #include " llvm/ADT/StringMap.h"
1717#include " llvm/ADT/StringRef.h"
1818#include " llvm/ADT/StringSwitch.h"
1919#include " llvm/ADT/Triple.h"
2020#include " llvm/Config/llvm-config.h"
2121#include " llvm/Support/Debug.h"
2222#include " llvm/Support/FileSystem.h"
2323#include " llvm/Support/MemoryBuffer.h"
24+ #include " llvm/Support/TargetParser.h"
2425#include " llvm/Support/raw_ostream.h"
2526#include < assert.h>
2627#include < string.h>
Original file line number Diff line number Diff line change 1414#define LLVM_TOOLS_DSYMUTIL_BINARYHOLDER_H
1515
1616#include " llvm/ADT/DenseMap.h"
17+ #include " llvm/ADT/StringMap.h"
1718#include " llvm/ADT/Triple.h"
1819#include " llvm/Object/Archive.h"
1920#include " llvm/Object/Error.h"
You can’t perform that action at this time.
0 commit comments