| /freebsd-12-stable/contrib/llvm-project/lld/lib/ReaderWriter/YAML/ |
| D | ReaderWriterYAML.cpp | 54 using namespace lld; 75 RefNameBuilder(const lld::File &file) in RefNameBuilder() 78 for (const lld::DefinedAtom *atom : file.defined()) { in RefNameBuilder() 84 for (const lld::Reference *ref : *atom) { in RefNameBuilder() 86 const lld::Atom *target = ref->target(); in RefNameBuilder() 101 for (const lld::UndefinedAtom *undefAtom : file.undefined()) { in RefNameBuilder() 104 for (const lld::SharedLibraryAtom *shlibAtom : file.sharedLibrary()) { in RefNameBuilder() 107 for (const lld::AbsoluteAtom *absAtom : file.absolute()) { in RefNameBuilder() 113 void buildDuplicateNameMap(const lld::Atom &atom) { in buildDuplicateNameMap() 128 const lld::Atom *prevAtom = pos->second; in buildDuplicateNameMap() [all …]
|
| /freebsd-12-stable/contrib/llvm-project/lld/Common/ |
| D | ErrorHandler.cpp | 25 using namespace lld; 42 raw_ostream *lld::stdoutOS; 43 raw_ostream *lld::stderrOS; 45 ErrorHandler &lld::errorHandler() { in errorHandler() 50 raw_ostream &lld::outs() { in outs() 56 raw_ostream &lld::errs() { in errs() 62 void lld::exitLld(int val) { in exitLld() 80 lld::outs().flush(); in exitLld() 81 lld::errs().flush(); in exitLld() 89 void lld::diagnosticHandler(const DiagnosticInfo &di) { in diagnosticHandler() [all …]
|
| D | Args.cpp | 18 using namespace lld; 22 CodeGenOpt::Level lld::args::getCGOptLevel(int optLevelLTO) { in getCGOptLevel() 47 int64_t lld::args::getInteger(opt::InputArgList &args, unsigned key, in getInteger() 52 int64_t lld::args::getHex(opt::InputArgList &args, unsigned key, in getHex() 57 std::vector<StringRef> lld::args::getStrings(opt::InputArgList &args, int id) { in getStrings() 64 uint64_t lld::args::getZOptionValue(opt::InputArgList &args, int id, in getZOptionValue() 78 std::vector<StringRef> lld::args::getLines(MemoryBufferRef mb) { in getLines() 91 StringRef lld::args::getFilenameWithoutExe(StringRef path) { in getFilenameWithoutExe()
|
| D | Memory.cpp | 12 using namespace lld; 14 BumpPtrAllocator lld::bAlloc; 15 StringSaver lld::saver{bAlloc}; 16 std::vector<SpecificAllocBase *> lld::SpecificAllocBase::instances; 18 void lld::freeArena() { in freeArena()
|
| D | TargetOptionsCommandFlags.cpp | 16 llvm::TargetOptions lld::initTargetOptionsFromCodeGenFlags() { in initTargetOptionsFromCodeGenFlags() 20 llvm::Optional<llvm::Reloc::Model> lld::getRelocModelFromCMModel() { in getRelocModelFromCMModel() 24 llvm::Optional<llvm::CodeModel::Model> lld::getCodeModelFromCMModel() { in getCodeModelFromCMModel() 28 std::string lld::getCPUStr() { return llvm::codegen::getCPUStr(); } in getCPUStr() 30 std::vector<std::string> lld::getMAttrs() { return llvm::codegen::getMAttrs(); } in getMAttrs()
|
| D | Strings.cpp | 20 using namespace lld; 23 std::string lld::demangleItanium(StringRef name) { in demangleItanium() 62 std::vector<uint8_t> lld::parseHex(StringRef s) { in parseHex() 78 bool lld::isValidCIdentifier(StringRef s) { in isValidCIdentifier() 84 void lld::saveBuffer(StringRef buffer, const Twine &path) { in saveBuffer()
|
| D | Reproduce.cpp | 15 using namespace lld; 24 std::string lld::relativeToRoot(StringRef path) { in relativeToRoot() 45 std::string lld::quote(StringRef s) { in quote() 53 std::string lld::toString(const opt::Arg &arg) { in toString()
|
| D | Filesystem.cpp | 25 using namespace lld; 42 void lld::unlinkAsync(StringRef path) { in unlinkAsync() 123 std::error_code lld::tryCreateFile(StringRef path) { in tryCreateFile()
|
| /freebsd-12-stable/contrib/llvm-project/lld/docs/ |
| D | Driver.rst | 14 This document describes the lld driver. The purpose of this document is to 21 The lld driver is designed to support a number of different command line 40 There are two different ways to tell lld which flavor to be. They are checked in 41 order, so the second overrides the first. The first is to symlink :program:`lld` 42 as :program:`lld-{flavor}` or just :program:`{flavor}`. You can also specify 45 $ lld -flavor gnu 55 #. Add to :cpp:class:`lld::FlavorLinkingContext` a getter and setter method 58 #. Modify :cpp:func:`lld::FlavorDriver::parse` in :file: 68 #. Add an entry for the flavor in :file:`include/lld/Common/Driver.h` to 69 :cpp:class:`lld::UniversalDriver::Flavor`. [all …]
|
| D | getting_started.rst | 3 Getting Started: Building and Running lld 6 This page gives you the shortest path to checking out and building lld. If you 11 Building lld 31 2. Check out LLVM and subprojects (including lld):: 35 4. Build LLVM and lld:: 39 $ cmake -G "Unix Makefiles" -DLLVM_ENABLE_PROJECTS=lld ../llvm 51 $ make check-lld 71 $ cmake -G "Visual Studio 11" -DLLVM_ENABLE_PROJECTS=lld ../llvm 80 * Build the ``lld-test`` target.
|
| D | design.rst | 12 lld is a new generation of linker. It is not "section" based like traditional 14 output file. Instead, lld is based on "Atoms". Traditional section based 143 A goal of lld is to be file format independent. This is done 144 through a plug-in model for reading object files. The lld::Reader is the base 146 A Reader instantiates an lld::File object (which is a graph of Atoms) from a 173 table" which is a map from llvm::StringRef to lld::Atom*. With these data 191 The result of the Resolving phase is the creation of an lld::File object. The 192 goal is that the lld::File model is **the** internal representation 194 lld::File. The file writers (mach-o, ELF, COFF) taken an lld::File and produce 195 their file kind, and every Pass only operates on an lld::File. This is not only [all …]
|
| D | Readers.rst | 3 Developing lld Readers 13 and create an `lld::File`:cpp:class: (which is a graph of Atoms) 15 `lld::Reader`:cpp:class: which lives in 16 :file:`include/lld/Core/Reader.h` and 20 following pieces in order to fit into lld: 22 :file:`include/lld/ReaderWriter/ReaderFoo.h` 27 parse any file into an `lld::Reader`:cpp:class: object. This class 28 should be declared in the `lld`:cpp:class: namespace. 33 should be declared in the `lld`:cpp:class: namespace. 41 if there is shared code with the `lld::WriterFoo`:cpp:class: you [all …]
|
| D | windows_support.rst | 17 LLD supports Windows operating system. When invoked as ``lld-link.exe`` or with 79 #. build ``lld`` target in ``lld executables`` folder 83 msbuild LLVM.sln /m /target:"lld executables\lld" 97 #. run ``ninja lld``
|
| /freebsd-12-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| D | MachONormalizedFileYAML.cpp | 38 using namespace lld::mach_o::normalized; 39 using lld::YamlContext; 121 struct ScalarEnumerationTraits<lld::MachOLinkingContext::Arch> { 122 static void enumeration(IO &io, lld::MachOLinkingContext::Arch &value) { in enumeration() 123 io.enumCase(value, "unknown",lld::MachOLinkingContext::arch_unknown); in enumeration() 124 io.enumCase(value, "ppc", lld::MachOLinkingContext::arch_ppc); in enumeration() 125 io.enumCase(value, "x86", lld::MachOLinkingContext::arch_x86); in enumeration() 126 io.enumCase(value, "x86_64", lld::MachOLinkingContext::arch_x86_64); in enumeration() 127 io.enumCase(value, "armv6", lld::MachOLinkingContext::arch_armv6); in enumeration() 128 io.enumCase(value, "armv7", lld::MachOLinkingContext::arch_armv7); in enumeration() [all …]
|
| D | MachONormalizedFileFromAtoms.cpp | 42 using namespace lld::mach_o::normalized; 43 using namespace lld; 114 void processDefinedAtoms(const lld::File &atomFile); 125 llvm::Error addSymbols(const lld::File &atomFile, NormalizedFile &file); 126 void addIndirectSymbols(const lld::File &atomFile, NormalizedFile &file); 127 void addRebaseAndBindingInfo(const lld::File &, NormalizedFile &file); 128 void addExportInfo(const lld::File &, NormalizedFile &file); 129 void addSectionRelocs(const lld::File &, NormalizedFile &file); 130 void addFunctionStarts(const lld::File &, NormalizedFile &file); 131 void buildDataInCodeArray(const lld::File &, NormalizedFile &file); [all …]
|
| D | WriterMachO.cpp | 21 using lld::mach_o::normalized::NormalizedFile; 23 namespace lld { namespace 30 llvm::Error writeFile(const lld::File &file, StringRef path) override { in writeFile() 67 return std::unique_ptr<Writer>(new lld::mach_o::MachOWriter(context)); in createWriterMachO()
|
| /freebsd-12-stable/contrib/llvm-project/lld/ELF/ |
| D | DriverUtils.cpp | 34 using namespace lld; 35 using namespace lld::elf; 63 lld::errs().enable_colors(true); in handleColorDiagnostics() 65 lld::errs().enable_colors(false); in handleColorDiagnostics() 69 lld::errs().enable_colors(true); in handleColorDiagnostics() 71 lld::errs().enable_colors(false); in handleColorDiagnostics() 149 lld::outs(), (config->progName + " [options] file...").str().c_str(), in printHelp() 151 lld::outs() << "\n"; in printHelp() 158 lld::outs() << config->progName << ": supported targets: elf\n"; in printHelp()
|
| /freebsd-12-stable/contrib/file/magic/Magdir/ |
| D | nifty | 134 >16 lequad <0 \b, INVALID dim[0]=%lld 135 >16 lequad >7 \b, INVALID dim[0]=%lld 137 >>16 lequad x \b, %lld-dimensional (size 138 >>24 lequad x %lld 140 >>>32 lequad x \bx%lld 142 >>>40 lequad x \bx%lld 144 >>>48 lequad x \bx%lld 146 >>>56 lequad x \bx%lld 148 >>>64 lequad x \bx%lld 150 >>>72 lequad x \bx%lld,
|
| /freebsd-12-stable/usr.bin/clang/lld/ |
| D | Makefile | 7 LLD_SRCS= ${LLVM_BASE}/lld 9 PACKAGE= lld 10 PROG_CXX= ld.lld 16 MLINKS= ld.lld.1 ld.1 30 SRCDIR= lld 84 SRCS+= tools/lld/lld.cpp
|
| /freebsd-12-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
| D | t_div.c | 82 lldiv_t lld; in ATF_TC_BODY() local 84 lld = lldiv(NUM, DENOM); in ATF_TC_BODY() 86 ATF_CHECK(lld.quot == QUOT); in ATF_TC_BODY() 87 ATF_CHECK(lld.rem == REM); in ATF_TC_BODY()
|
| /freebsd-12-stable/contrib/llvm-project/lld/MachO/ |
| D | Symbols.cpp | 14 using namespace lld; 15 using namespace lld::macho; 24 std::string lld::toString(const Symbol &sym) { return demangle(sym.getName()); } in toString() 26 std::string lld::toMachOString(const object::Archive::Symbol &b) { in toMachOString()
|
| D | DriverUtils.cpp | 36 using namespace lld; 37 using namespace lld::macho; 64 lld::errs().enable_colors(true); in handleColorDiagnostics() 66 lld::errs().enable_colors(false); in handleColorDiagnostics() 70 lld::errs().enable_colors(true); in handleColorDiagnostics() 72 lld::errs().enable_colors(false); in handleColorDiagnostics() 110 OptTable::printHelp(lld::outs(), in printHelp() 113 lld::outs() << "\n"; in printHelp()
|
| /freebsd-12-stable/contrib/llvm-project/lld/COFF/ |
| D | MinGW.cpp | 23 using namespace lld; 24 using namespace lld::coff; 163 void lld::coff::writeDefFile(StringRef name) { in writeDefFile() 195 lld::coff::addWrappedSymbols(opt::InputArgList &args) { in addWrappedSymbols() 236 void lld::coff::wrapSymbols(ArrayRef<WrappedSymbol> wrapped) { in wrapSymbols()
|
| /freebsd-12-stable/contrib/llvm-project/lld/ |
| D | README.md | 1 LLVM Linker (lld) 8 lld is open source software. You may freely distribute it under the terms of 17 It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
|
| /freebsd-12-stable/crypto/openssh/m4/ |
| D | openssh.m4 | 27 printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); 76 printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p); 115 printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p);
|