Mercurial > hg > CbC > CbC_llvm
comparison lld/MachO/LTO.h @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 (2023-08-18) |
parents | c4bab56944e8 |
children |
comparison
equal
deleted
inserted
replaced
237:c80f45b162ad | 252:1f2b6ac9f198 |
---|---|
7 //===----------------------------------------------------------------------===// | 7 //===----------------------------------------------------------------------===// |
8 | 8 |
9 #ifndef LLD_MACHO_LTO_H | 9 #ifndef LLD_MACHO_LTO_H |
10 #define LLD_MACHO_LTO_H | 10 #define LLD_MACHO_LTO_H |
11 | 11 |
12 #include "lld/Common/LLVM.h" | |
13 #include "llvm/ADT/DenseSet.h" | |
12 #include "llvm/ADT/SmallString.h" | 14 #include "llvm/ADT/SmallString.h" |
13 #include "llvm/Support/MemoryBuffer.h" | 15 #include "llvm/Support/MemoryBuffer.h" |
16 #include "llvm/Support/raw_ostream.h" | |
14 #include <memory> | 17 #include <memory> |
15 #include <vector> | 18 #include <vector> |
16 | 19 |
17 namespace llvm::lto { | 20 namespace llvm::lto { |
18 class LTO; | 21 class LTO; |
32 | 35 |
33 private: | 36 private: |
34 std::unique_ptr<llvm::lto::LTO> ltoObj; | 37 std::unique_ptr<llvm::lto::LTO> ltoObj; |
35 std::vector<llvm::SmallString<0>> buf; | 38 std::vector<llvm::SmallString<0>> buf; |
36 std::vector<std::unique_ptr<llvm::MemoryBuffer>> files; | 39 std::vector<std::unique_ptr<llvm::MemoryBuffer>> files; |
40 std::unique_ptr<llvm::raw_fd_ostream> indexFile; | |
41 llvm::DenseSet<StringRef> thinIndices; | |
42 bool hasFiles = false; | |
37 }; | 43 }; |
38 | 44 |
39 } // namespace lld::macho | 45 } // namespace lld::macho |
40 | 46 |
41 #endif | 47 #endif |