Home
last modified time | relevance | path

Searched refs:lld (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/openbsd/gnu/llvm/llvm/utils/gn/secondary/lld/tools/lld/
H A DBUILD.gn5 "lld-link",
6 "ld.lld",
7 "ld64.lld",
12 deps = [ ":lld" ]
13 source = "lld"
20 deps = [ ":lld" ]
29 "//lld/COFF",
30 "//lld/ELF",
31 "//lld/MachO:MachO",
32 "//lld/MinGW",
[all …]
/openbsd/gnu/llvm/lld/tools/lld/
H A DCMakeLists.txt6 add_lld_tool(lld
7 lld.cpp
12 export_executable_symbols_for_plugins(lld)
21 lld_target_link_libraries(lld
31 target_link_libraries(lld
36 install(TARGETS lld
41 lld-link ld.lld ld64.lld wasm-ld)
45 add_lld_symlink(${link} lld)
/openbsd/gnu/usr.bin/clang/lld/
H A DMakefile5 PROG= ld.lld
7 SRCS+= lld.cpp
10 DRIVER_NAME= lld
14 LINKS= ${BINDIR}/ld.lld ${BINDIR}/ld
17 cd ${DESTDIR}${MANDIR}1 && rm -f ld.1 && ln ld.lld.1 ld.1
21 CPPFLAGS+= -I${.CURDIR}/../../../llvm/lld/include
23 .PATH: ${.CURDIR}/../../../llvm/lld/tools/lld
24 .PATH: ${.CURDIR}/../../../llvm/lld/docs
/openbsd/gnu/llvm/lld/docs/MachO/
H A Dindex.rst24 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 …]
/openbsd/gnu/llvm/lld/Common/
H A DErrorHandler.cpp25 using namespace lld;
54 ErrorHandler &lld::errorHandler() { return context().e; } in errorHandler()
62 void lld::message(const Twine &msg, llvm::raw_ostream &s) { in message()
68 raw_ostream &lld::outs() { in outs()
73 raw_ostream &lld::errs() { in errs()
90 void lld::exitLld(int val) { in exitLld()
110 lld::errorHandler().flushStreams(); in exitLld()
118 void lld::diagnosticHandler(const DiagnosticInfo &di) { in diagnosticHandler()
144 void lld::checkError(Error e) { in checkError()
213 if (lld::errs().colors_enabled()) { in reportDiagnostic()
[all …]
H A DArgs.cpp18 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 SmallVector<StringRef, 0> lld::args::getStrings(opt::InputArgList &args, in getStrings()
65 uint64_t lld::args::getZOptionValue(opt::InputArgList &args, int id, in getZOptionValue()
79 std::vector<StringRef> lld::args::getLines(MemoryBufferRef mb) { in getLines()
92 StringRef lld::args::getFilenameWithoutExe(StringRef path) { in getFilenameWithoutExe()
H A DTargetOptionsCommandFlags.cpp15 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 DReproduce.cpp15 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 DStrings.cpp19 using namespace lld;
49 SmallVector<uint8_t, 0> lld::parseHex(StringRef s) { in parseHex()
65 bool lld::isValidCIdentifier(StringRef s) { in isValidCIdentifier()
71 void lld::saveBuffer(StringRef buffer, const Twine &path) { in saveBuffer()
H A DCommonLinkerContext.cpp16 using namespace lld;
40 CommonLinkerContext &lld::commonContext() { in commonContext()
45 bool lld::hasContext() { return lctx != nullptr; } in hasContext()
H A DFilesystem.cpp25 using namespace lld;
42 void lld::unlinkAsync(StringRef path) { in unlinkAsync()
123 std::error_code lld::tryCreateFile(StringRef path) { in tryCreateFile()
/openbsd/gnu/llvm/llvm/utils/gn/secondary/lld/test/
H A DBUILD.gn11 input = "//lld/test/lit.site.cfg.py.in"
17 "LLD_BINARY_DIR=" + rebase_path(get_label_info("//lld", "target_out_dir")),
21 "LLD_SOURCE_DIR=" + rebase_path("//lld"),
94 # This target should contain all dependencies of check-lld.
96 # prerequisites for check-lld but doesn't run check-lld itself.
100 "//lld/tools/lld:symlinks",
130 # This is the action that runs all of lld's tests, check-lld.
131 action("check-lld") {
143 # Since check-lld is always dirty, //:default doesn't depend on it so that
144 # it's not part of the default ninja target. Hence, check-lld shouldn't
/openbsd/gnu/gcc/gcc/config/mips/
H A Dsync.S81 SYNC_FETCH_AND_OP(add, 8, lld, scd, daddu, NO_NEG)
82 SYNC_FETCH_AND_OP(sub, 8, lld, scd, dsubu, NO_NEG)
83 SYNC_FETCH_AND_OP(or, 8, lld, scd, or, NO_NEG)
84 SYNC_FETCH_AND_OP(and, 8, lld, scd, and, NO_NEG)
85 SYNC_FETCH_AND_OP(xor, 8, lld, scd, xor, NO_NEG)
86 SYNC_FETCH_AND_OP(nand, 8, lld, scd, and, NEG_v1)
151 SYNC_OP_AND_FETCH(or, 8, lld, scd, or, NO_NEG)
152 SYNC_OP_AND_FETCH(and, 8, lld, scd, and, NO_NEG)
153 SYNC_OP_AND_FETCH(xor, 8, lld, scd, xor, NO_NEG)
154 SYNC_OP_AND_FETCH(nand, 8, lld, scd, and, NEG_v0)
[all …]
/openbsd/gnu/llvm/lld/cmake/modules/
H A DCMakeLists.txt8 set(LLD_INSTALL_PACKAGE_DIR "${CMAKE_INSTALL_PACKAGEDIR}/lld" CACHE STRING
9 "Path for CMake subdirectory for LLD (defaults to '${CMAKE_INSTALL_PACKAGEDIR}/lld')")
11 set(lld_cmake_builddir "${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}/cmake/lld")
66 COMPONENT lld-cmake-exports)
70 add_custom_target(lld-cmake-exports)
71 add_llvm_install_targets(install-lld-cmake-exports
72 COMPONENT lld-cmake-exports)
/openbsd/gnu/llvm/llvm/utils/gn/secondary/
H A DBUILD.gn15 "//lld/test",
60 # executable. This has the effect that `ninja lld` builds lld and then creates
61 # symlinks (via this target), while `ninja bin/lld` only builds lld and doesn't
62 # update symlinks (in particular, on Windows it doesn't copy the new lld to its
68 group("lld") {
69 deps = [ "//lld/tools/lld:symlinks" ]
/openbsd/gnu/llvm/lld/wasm/
H A DSyntheticSections.h27 namespace lld {
136 template <typename T> struct DenseMapInfo<lld::wasm::ImportKey<T>> {
137 static lld::wasm::ImportKey<T> getEmptyKey() {
138 typename lld::wasm::ImportKey<T> key(llvm::DenseMapInfo<T>::getEmptyKey());
139 key.state = lld::wasm::ImportKey<T>::State::Empty;
142 static lld::wasm::ImportKey<T> getTombstoneKey() {
144 key.state = lld::wasm::ImportKey<T>::State::Tombstone;
147 static unsigned getHashValue(const lld::wasm::ImportKey<T> &key) {
154 static bool isEqual(const lld::wasm::ImportKey<T> &lhs,
155 const lld::wasm::ImportKey<T> &rhs) {
[all …]
/openbsd/gnu/llvm/lld/MachO/
H A DDriverUtils.cpp34 using namespace lld;
35 using namespace lld::macho;
65 lld::errs().enable_colors(true); in handleColorDiagnostics()
67 lld::errs().enable_colors(false); in handleColorDiagnostics()
71 lld::errs().enable_colors(true); in handleColorDiagnostics()
73 lld::errs().enable_colors(false); in handleColorDiagnostics()
112 OptTable::printHelp(lld::outs(), in printHelp()
115 lld::outs() << "\n"; in printHelp()
H A DSymbols.cpp15 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()
/openbsd/gnu/llvm/lld/ELF/
H A DDriverUtils.cpp31 using namespace lld;
32 using namespace lld::elf;
63 lld::errs().enable_colors(true); in handleColorDiagnostics()
65 lld::errs().enable_colors(false); in handleColorDiagnostics()
142 lld::outs(), (config->progName + " [options] file...").str().c_str(), in printHelp()
144 lld::outs() << "\n"; in printHelp()
150 lld::outs() << config->progName << ": supported targets: elf\n"; in printHelp()
/openbsd/gnu/llvm/llvm/utils/release/
H A Dbuild_llvm_release.bat152 -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;compiler-rt;lldb;openmp"
204 ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
215 -DCMAKE_LINKER=%stage0_bin_dir%/lld-link.exe ^
226 ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
275 ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
287 -DCMAKE_LINKER=%stage0_bin_dir%/lld-link.exe ^
298 ninja check-lld || ninja check-lld || ninja check-lld || exit /b 1
/openbsd/gnu/llvm/lld/
H A DREADME.md1 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
/openbsd/gnu/llvm/lld/COFF/
H A DMinGW.cpp23 using namespace lld;
24 using namespace lld::coff;
173 void lld::coff::writeDefFile(StringRef name, in writeDefFile()
206 lld::coff::addWrappedSymbols(COFFLinkerContext &ctx, opt::InputArgList &args) { in addWrappedSymbols()
249 void lld::coff::wrapSymbols(COFFLinkerContext &ctx, in wrapSymbols()
/openbsd/gnu/usr.bin/clang/liblldELF/
H A DMakefile6 CPPFLAGS+= -I${.OBJDIR}/../include/lld/ELF
54 .PATH: ${.CURDIR}/../../../llvm/lld/ELF
55 .PATH: ${.CURDIR}/../../../llvm/lld/ELF/Arch
/openbsd/gnu/llvm/lld/docs/
H A Dwindows_support.rst17 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``
H A DReleaseNotes.rst2 lld |release| Release Notes
18 This document contains the release notes for the lld linker, release |release|.
19 Here we describe the status of lld, including major improvements
20 from the previous release. All lld releases may be downloaded
29 * Link speed improved greatly compared with lld 15.0. Notably input section
49 * ``-V`` is now an alias for ``-v`` to support ``gcc -fuse-ld=lld -v`` on many targets.
83 * The lld-specific options ``--guard-cf``, ``--no-guard-cf``,

12345678910>>...14