| /freebsd-13.1/contrib/llvm-project/lld/lib/ReaderWriter/YAML/ |
| H A D | ReaderWriterYAML.cpp | 54 using namespace lld; 75 RefNameBuilder(const lld::File &file) in RefNameBuilder() 228 const lld::File *_content; 562 static const lld::File *&element(IO &io, std::vector<const lld::File *> &seq, in element() 741 : lld::Reference(lld::Reference::KindNamespace::all, in NormalizedReference() 783 const lld::Atom *_target; 1035 const lld::File &_file; 1107 const lld::File &_file; 1178 const lld::File &_file; 1247 inline const lld::File * [all …]
|
| /freebsd-13.1/contrib/llvm-project/lld/Common/ |
| H A D | ErrorHandler.cpp | 25 using namespace lld; 42 raw_ostream *lld::stdoutOS; 43 raw_ostream *lld::stderrOS; 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() 108 void lld::checkError(Error e) { in checkError() 182 lld::outs() << msg << "\n"; in message() [all …]
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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()
|
| H A 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-13.1/contrib/llvm-project/lld/docs/ |
| H A 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 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`. 72 :cpp:func:`lld::Driver::strToFlavor` and 73 :cpp:func:`lld::UniversalDriver::link`. [all …]
|
| H A 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.
|
| H A D | design.rst | 194 lld::File. The file writers (mach-o, ELF, COFF) taken an lld::File and produce 246 ELF, mach-o, etc) are subclasses of the lld::Writer class. 272 lld::File representations 278 * In memory, abstract C++ classes (lld::Atom, lld::Reference, and lld::File). 320 The textual/YAML format follows the ReaderWriter patterns used in lld. The lld 328 added to lld. All new lld functionality should have a tests added to the test 331 result To facilitate testing, the lld project builds a tool called lld-core. 333 lld::File objects in memory and then feeds those lld::File objects to the 350 # RUN: lld-core %s | FileCheck %s 377 Since Passes just operate on an lld::File object, the lld-core tool has the [all …]
|
| H A 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` 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 42 can make a nested namespace (e.g. `lld::foo`:cpp:class:). [all …]
|
| H A 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-13.1/contrib/llvm-project/lld/ELF/ |
| H A 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-13.1/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
| H A D | MachONormalizedFileYAML.cpp | 38 using namespace lld::mach_o::normalized; 39 using lld::YamlContext; 135 struct ScalarEnumerationTraits<lld::MachOLinkingContext::OS> { 142 lld::MachOLinkingContext::OS::iOS); in enumeration() 375 case lld::MachOLinkingContext::arch_x86_64: in enumeration() 397 case lld::MachOLinkingContext::arch_x86: in enumeration() 409 case lld::MachOLinkingContext::arch_armv6: in enumeration() 410 case lld::MachOLinkingContext::arch_armv7: in enumeration() 411 case lld::MachOLinkingContext::arch_armv7s: in enumeration() 429 case lld::MachOLinkingContext::arch_arm64: in enumeration() [all …]
|
| H A D | MachONormalizedFileFromAtoms.cpp | 42 using namespace lld::mach_o::normalized; 43 using namespace lld; 208 std::vector<lld::mach_o::Stab> _stabs; 950 case lld::DefinedAtom::mergeNo: in descBits() 951 case lld::DefinedAtom::mergeAsTentative: in descBits() 953 case lld::DefinedAtom::mergeAsWeak: in descBits() 959 case lld::DefinedAtom::mergeByContent: in descBits() 1040 lld::mach_o::normalized::Symbol sym; in addSymbols() 1102 lld::mach_o::normalized::Symbol sym; in addSymbols() 1127 lld::mach_o::normalized::Symbol sym; in addSymbols() [all …]
|
| H A 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-13.1/contrib/netbsd-tests/lib/libc/stdlib/ |
| H A 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-13.1/usr.bin/clang/lld/ |
| H A 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-13.1/contrib/llvm-project/lld/MachO/ |
| H A 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()
|
| H A 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-13.1/contrib/llvm-project/lld/COFF/ |
| H A 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-13.1/contrib/llvm-project/lld/ |
| H A 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-13.1/contrib/llvm-project/lld/lib/Core/ |
| H A D | Error.cpp | 16 using namespace lld; 38 const std::error_category &lld::YamlReaderCategory() { in YamlReaderCategory() 43 namespace lld { namespace
|
| /freebsd-13.1/crypto/openssh/m4/ |
| H A D | openssh.m4 | 24 printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); 73 printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p); 112 printf("%d %d %d %f %f %lld %lld %lld\n", i, j, k, l, m, n, o, p);
|