| /llvm-project-15.0.7/lld/wasm/ |
| H A D | InputFiles.h | 42 class InputFile { 51 virtual ~InputFile() {} in ~InputFile() 71 InputFile(Kind k, MemoryBufferRef m) in InputFile() function 87 class ArchiveFile : public InputFile { 89 explicit ArchiveFile(MemoryBufferRef m) : InputFile(ArchiveKind, m) {} in ArchiveFile() 102 class ObjFile : public InputFile { 105 : InputFile(ObjectKind, m) { in ObjFile() 164 class SharedFile : public InputFile { 171 class BitcodeFile : public InputFile { 178 std::unique_ptr<llvm::lto::InputFile> obj; [all …]
|
| H A D | SymbolTable.h | 42 void addFile(InputFile *file); 56 Symbol *addDefinedData(StringRef name, uint32_t flags, InputFile *file, 58 Symbol *addDefinedGlobal(StringRef name, uint32_t flags, InputFile *file, 60 Symbol *addDefinedTag(StringRef name, uint32_t flags, InputFile *file, 62 Symbol *addDefinedTable(StringRef name, uint32_t flags, InputFile *file, 68 uint32_t flags, InputFile *file, 75 uint32_t flags, InputFile *file, 80 uint32_t flags, InputFile *file, 84 uint32_t flags, InputFile *file, 115 std::pair<Symbol *, bool> insert(StringRef name, const InputFile *file); [all …]
|
| H A D | Symbols.h | 31 class InputFile; variable 94 InputFile *getFile() const { return file; } in getFile() 132 Symbol(StringRef name, Kind k, uint32_t flags, InputFile *f) in Symbol() 138 InputFile *file; 212 DefinedFunction(StringRef name, uint32_t flags, InputFile *f, 232 InputFile *file = nullptr, 352 DefinedGlobal(StringRef name, uint32_t flags, InputFile *file, 366 InputFile *file = nullptr, 403 DefinedTable(StringRef name, uint32_t flags, InputFile *file, 415 InputFile *file, const WasmTableType *type) in UndefinedTable() [all …]
|
| H A D | SymbolTable.cpp | 27 void SymbolTable::addFile(InputFile *file) { in addFile() 120 const InputFile *file) { in insert() 125 if (!file || file->kind() == InputFile::ObjectKind) in insert() 170 static void checkTagType(const Symbol *existing, const InputFile *file, in checkTagType() 276 static bool shouldReplace(const Symbol *existing, InputFile *newFile, in shouldReplace() 305 InputFile *file, in addDefinedFunction() 410 InputFile *file, InputTag *tag) { in addDefinedTag() 466 uint32_t flags, InputFile *file) { in setImportAttributes() 556 InputFile *file) { in addUndefinedData() 630 uint32_t flags, InputFile *file, in addUndefinedTag() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | InputFile.h | 33 class InputFile; variable 40 class InputFile { 41 InputFile(); 58 InputFile(PDBFile *Pdb) { PdbOrObj = Pdb; } in InputFile() function 61 ~InputFile(); 62 InputFile(InputFile &&Other) = default; 64 static Expected<InputFile> open(StringRef Path, 113 const InputFile &getFile() const { return *File; } in getFile() 114 InputFile &getFile() { return *File; } in getFile() 124 InputFile *File = nullptr; [all …]
|
| /llvm-project-15.0.7/lld/COFF/ |
| H A D | InputFiles.h | 33 class InputFile; variable 64 class InputFile { 76 virtual ~InputFile() {} in ~InputFile() 112 class ArchiveFile : public InputFile { 129 class ObjFile : public InputFile { 311 class PDBInputFile : public InputFile { 334 class ImportFile : public InputFile { 337 : InputFile(ctx, ImportKind, m) {} in ImportFile() 366 class BitcodeFile : public InputFile { 385 class DLLFile : public InputFile { [all …]
|
| H A D | SymbolTable.h | 53 void addFile(InputFile *file); 92 Symbol *addUndefined(StringRef name, InputFile *f, bool isWeakAlias); 94 void addLazyObject(InputFile *f, StringRef n); 97 Symbol *addRegular(InputFile *f, StringRef n, 101 addComdat(InputFile *f, StringRef n, 103 Symbol *addCommon(InputFile *f, StringRef n, uint64_t size, 111 void reportDuplicate(Symbol *existing, InputFile *newFile, 131 std::pair<Symbol *, bool> insert(StringRef name, InputFile *f);
|
| H A D | Symbols.h | 40 class InputFile; variable 89 InputFile *getFile(); 180 DefinedCOFF(Kind k, InputFile *f, StringRef n, const coff_symbol_generic *s) in DefinedCOFF() 187 InputFile *getFile() { return file; } in getFile() 191 InputFile *file; 200 DefinedRegular(InputFile *f, StringRef n, bool isCOMDAT, 222 DefinedCommon(InputFile *f, StringRef n, uint64_t size, 311 LazyObject(InputFile *f, StringRef n) : Symbol(LazyObjectKind, n), file(f) {} in LazyObject() 313 InputFile *file;
|
| /llvm-project-15.0.7/lld/MachO/ |
| H A D | InputFiles.h | 32 class InputFile; variable 63 class InputFile; variable 67 InputFile *file; 104 class InputFile { 114 virtual ~InputFile() = default; 156 class ObjFile final : public InputFile { 201 class OpaqueFile final : public InputFile { 208 class DylibFile final : public InputFile { 276 class ArchiveFile final : public InputFile { 297 class BitcodeFile final : public InputFile { [all …]
|
| H A D | SymbolTable.h | 24 class InputFile; variable 40 Defined *addDefined(StringRef name, InputFile *, InputSection *, 48 Symbol *addUndefined(StringRef name, InputFile *, bool isWeakRef); 50 Symbol *addCommon(StringRef name, InputFile *, uint64_t size, uint32_t align, 58 Symbol *addLazyObject(StringRef name, InputFile &file); 69 std::pair<Symbol *, bool> insert(StringRef name, const InputFile *);
|
| H A D | Driver.h | 27 class InputFile; variable 44 void parseLCLinkerOption(InputFile *, unsigned argc, StringRef data); 69 void printArchiveMemberLoad(StringRef reason, const InputFile *); 88 const llvm::SetVector<InputFile *> &inputs,
|
| H A D | Symbols.h | 95 InputFile *getFile() const { return file; } in getFile() 98 Symbol(Kind k, StringRefZ name, InputFile *file) in Symbol() 105 InputFile *file; 118 Defined(StringRefZ name, InputFile *file, InputSection *isec, uint64_t value, 201 Undefined(StringRefZ name, InputFile *file, RefState refState) in Undefined() 230 CommonSymbol(StringRefZ name, InputFile *file, uint64_t size, uint32_t align, in CommonSymbol() 316 LazyObject(InputFile &file, StringRef name) in LazyObject()
|
| /llvm-project-15.0.7/llvm/tools/llvm-dwarfutil/ |
| H A D | llvm-dwarfutil.cpp | 279 saveSeparateDebugInfo(Opts, InputFile); in splitDebugIntoSeparateFile() 293 ObjectFile &InputFile, in addSectionsFromLinkedData() argument 295 if (isa<ELFObjectFile<ELF32LE>>(&InputFile)) { in addSectionsFromLinkedData() 303 } else if (isa<ELFObjectFile<ELF64LE>>(&InputFile)) { in addSectionsFromLinkedData() 311 } else if (isa<ELFObjectFile<ELF32BE>>(&InputFile)) { in addSectionsFromLinkedData() 319 } else if (isa<ELFObjectFile<ELF64BE>>(&InputFile)) { in addSectionsFromLinkedData() 366 ObjectFile &InputFile, in saveSingleLinkedDebugInfo() argument 390 saveSeparateLinkedDebugInfo(Opts, InputFile, in saveLinkedDebugInfo() 399 if (Error Err = saveSingleLinkedDebugInfo(Opts, InputFile, in saveLinkedDebugInfo() 429 if (Error Err = linkDebugInfo(InputFile, Opts, OutStream)) in applyCLOptions() [all …]
|
| /llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | InputFile.cpp | 34 InputFile::InputFile() = default; 35 InputFile::~InputFile() = default; 300 Expected<InputFile> InputFile::open(StringRef Path, bool AllowUnknownFile) { in open() 301 InputFile IF; in open() 348 PDBFile &InputFile::pdb() { in pdb() 353 const PDBFile &InputFile::pdb() const { in pdb() 358 object::COFFObjectFile &InputFile::obj() { in obj() 368 MemoryBuffer &InputFile::unknown() { in unknown() 387 bool InputFile::hasTypes() const { in hasTypes() 399 bool InputFile::hasIds() const { in hasIds() [all …]
|
| /llvm-project-15.0.7/lld/ELF/ |
| H A D | InputFiles.h | 27 class InputFile; variable 35 std::string toString(const elf::InputFile *f); 49 void parseFile(InputFile *file); 52 class InputFile { 147 InputFile(Kind k, MemoryBufferRef m); 161 class ELFFileBase : public InputFile { 164 static bool classof(const InputFile *f) { return f->isElf(); } in classof() 318 class BitcodeFile : public InputFile { 326 std::unique_ptr<llvm::lto::InputFile> obj; 367 class BinaryFile : public InputFile { [all …]
|
| H A D | Symbols.h | 40 class InputFile; variable 68 InputFile *file; 244 Symbol(Kind k, InputFile *file, StringRef name, uint8_t binding, in Symbol() 327 Defined(InputFile *file, StringRef name, uint8_t binding, uint8_t stOther, in Defined() 364 CommonSymbol(InputFile *file, StringRef name, uint8_t binding, in CommonSymbol() 379 Undefined(InputFile *file, StringRef name, uint8_t binding, uint8_t stOther, 395 SharedSymbol(InputFile &file, StringRef name, uint8_t binding, in SharedSymbol() 437 LazyObject(InputFile &file) in LazyObject() 553 void reportDuplicate(const Symbol &sym, const InputFile *newFile,
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/ |
| H A D | LTO.h | 105 class InputFile { 112 InputFile() = default; 126 ~InputFile(); 129 static Expected<std::unique_ptr<InputFile>> create(MemoryBufferRef Object); 248 friend InputFile; variable 263 Error add(std::unique_ptr<InputFile> Obj, ArrayRef<SymbolResolution> Res); 389 void addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms, 397 Error addModule(InputFile &Input, unsigned ModI, 401 addRegularLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms, 406 Error addThinLTO(BitcodeModule BM, ArrayRef<InputFile::Symbol> Syms,
|
| /llvm-project-15.0.7/llvm/include/llvm/LTO/legacy/ |
| H A D | ThinLTOCodeGenerator.h | 257 const lto::InputFile &File); 264 const lto::InputFile &File); 271 const lto::InputFile &File); 279 const lto::InputFile &File); 285 const lto::InputFile &File); 314 std::vector<std::unique_ptr<lto::InputFile>> Modules;
|
| /llvm-project-15.0.7/clang/include/clang/Serialization/ |
| H A D | ModuleFile.h | 65 class InputFile { 74 InputFile() = default; 76 InputFile(FileEntryRef File, bool isOverridden = false, 88 static InputFile getNotFound() { in getNotFound() 89 InputFile File; in getNotFound() 240 std::vector<InputFile> InputFilesLoaded;
|
| /llvm-project-15.0.7/llvm/tools/llvm-pdbutil/ |
| H A D | ExplainOutputStyle.h | 24 class InputFile; variable 29 ExplainOutputStyle(InputFile &File, uint64_t FileOffset); 61 InputFile &File;
|
| /llvm-project-15.0.7/llvm/tools/bugpoint/ |
| H A D | ToolRunner.cpp | 158 const std::string &InputFile, const std::string &OutputFile, 167 const std::string &InputFile, in ExecuteProgram() argument 254 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument 303 const std::string &InputFile, const std::string &OutputFile, 312 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() argument 484 const std::string &InputFile, in ExecuteProgram() argument 546 const std::string &InputFile, const std::string &OutputFile, 555 const std::string &InputFile, in ExecuteProgram() argument 625 const std::string &InputFile, in ExecuteProgram() argument 770 InputFile + "-%%%%%%%" + LTDL_SHLIB_EXT, UniqueFilename); in MakeSharedObject() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | MachORewriteInstance.cpp | 88 object::MachOObjectFile *InputFile, StringRef ToolPath) { in createMachORewriteInstance() argument 91 std::make_unique<MachORewriteInstance>(InputFile, ToolPath, Err); in createMachORewriteInstance() 97 MachORewriteInstance::MachORewriteInstance(object::MachOObjectFile *InputFile, in MachORewriteInstance() argument 99 : InputFile(InputFile), ToolPath(ToolPath) { in MachORewriteInstance() 102 InputFile, /* IsPIC */ true, DWARFContext::create(*InputFile)); in MachORewriteInstance() 151 for (const object::SectionRef &Section : InputFile->sections()) { in readSpecialSections() 239 for (const SymbolRef &S : InputFile->symbols()) { in discoverFileObjects() 293 const std::vector<DataInCodeRegion> DataInCode = readDataInCode(*InputFile); in discoverFileObjects() 314 reinterpret_cast<const uint8_t *>(InputFile->getData().data()); in discoverFileObjects() 327 BC->StartFunctionAddress = readStartAddress(*InputFile); in discoverFileObjects() [all …]
|
| /llvm-project-15.0.7/bolt/include/bolt/Rewrite/ |
| H A D | MachORewriteInstance.h | 34 object::MachOObjectFile *InputFile; variable 71 MachORewriteInstance(object::MachOObjectFile *InputFile, StringRef ToolPath, 75 createMachORewriteInstance(object::MachOObjectFile *InputFile,
|
| H A D | RewriteInstance.h | 73 assert(InputFile && "cannot have an instance without a file"); in getInputFilename() 74 return InputFile->getFileName(); in getInputFilename() 266 if (auto *ELF32LE = dyn_cast<object::ELF32LEObjectFile>(InputFile)) \ 268 if (auto *ELF64LE = dyn_cast<object::ELF64LEObjectFile>(InputFile)) \ 270 if (auto *ELF32BE = dyn_cast<object::ELF32BEObjectFile>(InputFile)) \ 272 auto *ELF64BE = cast<object::ELF64BEObjectFile>(InputFile); \ 424 llvm::object::ELFObjectFileBase *InputFile; variable
|
| /llvm-project-15.0.7/llvm/tools/dsymutil/ |
| H A D | dsymutil.cpp | 498 getOutputFileName(StringRef InputFile, const DsymutilOptions &Options) { in getOutputFileName() argument 505 return OutputLocation(std::string(InputFile)); in getOutputFileName() 515 if (InputFile == "-") in getOutputFileName() 517 return OutputLocation((InputFile + ".dwarf").str()); in getOutputFileName() 532 std::string(InputFile == "-" ? StringRef("a.out") : InputFile); in getOutputFileName() 615 for (auto &InputFile : Options.InputFiles) { in dsymutil_main() local 618 if (!dumpStab(Options.LinkOpts.VFS, InputFile, Options.Archs, in dsymutil_main() 625 parseDebugMap(Options.LinkOpts.VFS, InputFile, Options.Archs, in dsymutil_main() 630 WithColor::error() << "cannot parse the debug map for '" << InputFile in dsymutil_main() 643 Map->addDebugMapObject(InputFile, in dsymutil_main() [all …]
|