/freebsd/contrib/llvm-project/lld/include/lld/Common/ |
H A D | Driver.h | 15 namespace lld { 52 namespace lld { \ 63 {lld::WinLink, &lld::coff::link}, {lld::Gnu, &lld::elf::link}, \ 64 {lld::MinGW, &lld::mingw::link}, {lld::Darwin, &lld::macho::link}, { \ 65 lld::Wasm, &lld::wasm::link \
|
/freebsd/contrib/llvm-project/lld/docs/MachO/ |
H A D | index.rst | 24 decompressing it, and locating the binary at ``bin/ld64.lld``. Note 25 that if ``ld64.lld`` is moved out of ``bin``, it must still be accompanied 26 by its sibling file ``lld``, as ``ld64.lld`` is technically a symlink to ``lld``. 40 $ cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS='lld' ../llvm-project/llvm 41 $ ninja check-lld-macho 43 Then you can find output binary at ``build/bin/ld64.lld``. Note 44 that if ``ld64.lld`` is moved out of ``bin``, it must still be accompanied 45 by its sibling file ``lld``, as ``ld64.lld`` is technically a symlink to ``lld``. 50 LLD can be used by adding ``-fuse-ld=/path/to/ld64.lld`` to the linker flags. 57 :doc:`ld64-vs-lld` has more info on the differences between the two linkers. [all …]
|
/freebsd/contrib/llvm-project/lld/Common/ |
H A D | ErrorHandler.cpp | 25 using namespace lld; 54 ErrorHandler &lld::errorHandler() { return context().e; } in errorHandler() 56 void lld::error(const Twine &msg) { errorHandler().error(msg); } in error() 57 void lld::error(const Twine &msg, ErrorTag tag, ArrayRef<StringRef> args) { in error() 60 void lld::fatal(const Twine &msg) { errorHandler().fatal(msg); } in fatal() 61 void lld::log(const Twine &msg) { errorHandler().log(msg); } in log() 62 void lld::message(const Twine &msg, llvm::raw_ostream &s) { in message() 65 void lld::warn(const Twine &msg) { errorHandler().warn(msg); } in warn() 66 uint64_t lld::errorCount() { return errorHandler().errorCount; } in errorCount() 68 raw_ostream &lld::outs() { in outs() [all …]
|
H A D | Args.cpp | 9 #include "lld/Common/Args.h" 10 #include "lld/Common/ErrorHandler.h" 18 using namespace lld; 22 int lld::args::getCGOptLevel(int optLevelLTO) { in getCGOptLevel() 44 int64_t lld::args::getInteger(opt::InputArgList &args, unsigned key, in getInteger() 49 int64_t lld::args::getHex(opt::InputArgList &args, unsigned key, in getHex() 54 SmallVector<StringRef, 0> lld::args::getStrings(opt::InputArgList &args, in getStrings() 62 uint64_t lld::args::getZOptionValue(opt::InputArgList &args, int id, in getZOptionValue() 75 std::vector<StringRef> lld::args::getLines(MemoryBufferRef mb) { 88 StringRef lld in getLines() [all...] |
H A D | TargetOptionsCommandFlags.cpp | 15 llvm::TargetOptions lld::initTargetOptionsFromCodeGenFlags() { in initTargetOptionsFromCodeGenFlags() 19 std::optional<llvm::Reloc::Model> lld::getRelocModelFromCMModel() { in getRelocModelFromCMModel() 23 std::optional<llvm::CodeModel::Model> lld::getCodeModelFromCMModel() { in getCodeModelFromCMModel() 27 std::string lld::getCPUStr() { return llvm::codegen::getCPUStr(); } in getCPUStr() 29 std::vector<std::string> lld::getMAttrs() { return llvm::codegen::getMAttrs(); } in getMAttrs()
|
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 | Strings.cpp | 9 #include "lld/Common/Strings.h" 10 #include "lld/Common/ErrorHandler.h" 11 #include "lld/Common/LLVM.h" 20 using namespace lld; 50 SmallVector<uint8_t, 0> lld::parseHex(StringRef s) { in parseHex() 66 bool lld::isValidCIdentifier(StringRef s) { in isValidCIdentifier() 72 void lld::saveBuffer(StringRef buffer, const Twine &path) { in saveBuffer()
|
H A D | CommonLinkerContext.cpp | 16 using namespace lld; 40 CommonLinkerContext &lld::commonContext() { in commonContext() 45 bool lld::hasContext() { return lctx != nullptr; } in hasContext()
|
H A D | Filesystem.cpp | 13 #include "lld/Common/Filesystem.h" 14 #include "lld/Common/ErrorHandler.h" 27 using namespace lld; 44 void lld::unlinkAsync(StringRef path) { in unlinkAsync() 125 std::error_code lld::tryCreateFile(StringRef path) { in tryCreateFile() 135 std::unique_ptr<raw_fd_ostream> lld::openFile(StringRef file) { 150 std::unique_ptr<raw_fd_ostream> lld::openLTOOutputFile(StringRef file) {
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | Wasm.cpp | 25 namespace lld { namespace 110 const lld::DriverDef WasmDriver = {lld::Flavor::Wasm, &lld::wasm::link}; in addModule() 111 std::vector<lld::DriverDef> WasmDriverArgs; in addModule() 113 lld::Result Result = in addModule() 114 lld::lldMain(LinkerArgs, llvm::outs(), llvm::errs(), WasmDriverArgs); in addModule()
|
/freebsd/contrib/llvm-project/lld/tools/lld/ |
H A D | lld.cpp | 1 //===- tools/lld/lld.cpp - Linker Driver Dispatcher -----------------------===// 9 // This file contains the main function of the lld executable. The main 13 // lld is a single executable that contains four different linkers for ELF, 18 // - ld.lld: ELF (Unix) 20 // - lld-link: COFF (Windows) 23 // lld can be invoked as "lld" along with "-flavor" option. This is for 28 #include "lld/Common/Driver.h" 29 #include "lld/Commo 51 namespace lld { global() namespace [all...] |
/freebsd/usr.bin/clang/lld/ |
H A D | Makefile | 5 LLD_SRCS= ${LLVM_BASE}/lld 7 PACKAGE= lld 8 PROG_CXX= ld.lld 14 MLINKS= ld.lld.1 ld.1 25 SRCDIR= lld 77 SRCS+= lld-driver.cpp 78 SRCS+= tools/lld/lld.cpp
|
/freebsd/contrib/file/magic/Magdir/ |
H A 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,
|
H A D | lammps | 23 >>>>0x18 lequad x First time step: %lld 30 >>>>0x18 bequad x First time step: %lld 38 >>>>0x1a lequad x First time step: %lld 45 >>>>0x1a bequad x First time step: %lld
|
/freebsd/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/contrib/llvm-project/lld/ELF/ |
H A D | DriverUtils.cpp | 31 using namespace lld; 32 using namespace lld::elf; 61 lld::errs().enable_colors(true); in handleColorDiagnostics() 63 lld::errs().enable_colors(false); in handleColorDiagnostics() 140 lld::outs(), (config->progName + " [options] file...").str().c_str(), in printHelp() 142 lld::outs() << "\n"; in printHelp() 148 lld::outs() << config->progName << ": supported targets: elf\n"; in printHelp()
|
/freebsd/contrib/llvm-project/lld/MachO/ |
H A D | DriverUtils.cpp | 34 using namespace lld; 35 using namespace lld::macho; 79 lld::errs().enable_colors(true); in handleColorDiagnostics() 81 lld::errs().enable_colors(false); in handleColorDiagnostics() 85 lld::errs().enable_colors(true); in handleColorDiagnostics() 87 lld::errs().enable_colors(false); in handleColorDiagnostics() 126 OptTable::printHelp(lld::outs(), in printHelp() 129 lld::outs() << "\n"; in printHelp()
|
H A D | Symbols.cpp | 15 using namespace lld; 16 using namespace lld::macho; 40 std::string lld::toString(const Symbol &sym) { in toString() 44 std::string lld::toMachOString(const object::Archive::Symbol &b) { in toMachOString()
|
H A D | Target.cpp | 11 using namespace lld; 12 using namespace lld::macho;
|
H A D | OutputSection.cpp | 13 using namespace lld; 14 using namespace lld::macho;
|
/freebsd/contrib/llvm-project/lld/docs/ |
H A D | index.rst | 40 ``lld::lldMain``, from your code. 63 E5-2680 2.80 GHz machine with an SSD drive. We ran gold and lld with 68 …Output size GNU ld GNU gold w/o threads GNU gold w/threads lld w/o threads lld w/threads 75 As you can see, lld is significantly faster than GNU linkers. 102 …$ cmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=lld -DCMAKE_INSTALL_PREFIX=/usr/local ..… 108 LLD is installed as ``ld.lld``. On Unix, linkers are invoked by 110 directly. There are a few ways to tell compiler drivers to use ld.lld 115 link by doing ``ln -s /path/to/ld.lld /usr/bin/ld`` so that 119 ``-fuse-ld`` option. In this way, you want to set ``-fuse-ld=lld`` to
|
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/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/contrib/llvm-project/lld/COFF/ |
H A D | MinGW.cpp | 24 using namespace lld; 25 using namespace lld::coff; 173 void lld::coff::writeDefFile(StringRef name, in writeDefFile() 207 lld::coff::addWrappedSymbols(COFFLinkerContext &ctx, opt::InputArgList &args) { in addWrappedSymbols() 250 void lld::coff::wrapSymbols(COFFLinkerContext &ctx, in wrapSymbols()
|
/freebsd/contrib/llvm-project/lld/MachO/Arch/ |
H A D | ARM64Common.cpp | 16 using namespace lld; 17 using namespace lld::macho; 141 void macho::reportUnalignedLdrStr(void *loc, const lld::macho::Reloc &r, in reportUnalignedLdrStr() 149 void macho::reportUnalignedLdrStr(void *loc, lld::macho::SymbolDiagnostic d, in reportUnalignedLdrStr()
|