Python 2/3 compatibilityThis should be the only change required to have lld's python code base compatible with both Python 2 and Python 3Differential Revision: https://reviews.llvm.org/D59538ll
Python 2/3 compatibilityThis should be the only change required to have lld's python code base compatible with both Python 2 and Python 3Differential Revision: https://reviews.llvm.org/D59538llvm-svn: 356538
show more ...
Update the file headers across all of the LLVM projects in the monorepoto reflect the new license.We understand that people may be surprised that we're moving the headerentirely to discuss the ne
Update the file headers across all of the LLVM projects in the monorepoto reflect the new license.We understand that people may be surprised that we're moving the headerentirely to discuss the new license. We checked this carefully with theFoundation's lawyer and we believe this is the correct approach.Essentially, all code in the project is now made available by the LLVMproject under our new license, so you will see that the license headersinclude that license only. Some of our contributors have contributedcode under our old license, and accordingly, we have retained a copy ofour old license notice in the top-level files in each project andrepository.llvm-svn: 351636
Add a script to run various benchmarks and send the result to lnt.Lnt is both a server and a set of script for benchmarking llvm.I don't think it makes sense to use the scripts for lld since our
Add a script to run various benchmarks and send the result to lnt.Lnt is both a server and a set of script for benchmarking llvm.I don't think it makes sense to use the scripts for lld since ourbenchmarks are quite different.The server on the other hand is very general and seems to work wellfor tracking any quantities.This patch adds a script to lld that can be used to run variousbenchmarks and send the result to lnt.The benchmarks are assumed to each be a response file in asubdirectory. Each subdirectory can contain multiple responsefiles. That can be used to have a plain response.txt and aresponse-icf.txt for example. The name of each benchmark is thecombination of the directory name and the "flavor": firefox-gc,chromium-icf, etc.For the first version the script uses perf and collects all themetrics that a plain "perf stat" prints.This script can then be used by a developer to test a patch or by abot to keep track of lld's performance.llvm-svn: 318158
Remove astyle-options.We have our own code formatting tool, clang-format.I believe no one is using "astyle" to format the code.llvm-svn: 243570
Move the 'linker-script-test' binary to the tools directory.The canonical LLVM directory arrangement places binaries in the 'utils/'tree when they are used as part of building the project. For exa
Move the 'linker-script-test' binary to the tools directory.The canonical LLVM directory arrangement places binaries in the 'utils/'tree when they are used as part of building the project. For example,the tblgen binaries are built out of 'utils/' trees.Tools which are not used by any other part of the build, includingtesting utilities, are just in the 'tools' directory. For example, inClang we have 'c-index-test' which is exactly the same kind of thing as'linker-script-test'.Differential Revision: http://reviews.llvm.org/D8269llvm-svn: 231973
lldReaderWriter.a depends on lldCore.a so make sureto link that in as well.llvm-svn: 228252
Make ELFLinkingContext own LinkerScript buffersCurrently, no one owns script::Parser buffers, but yet ELFLinkingContext getsupdated with StringRef pointers to data inside Parser buffers. Since thi
Make ELFLinkingContext own LinkerScript buffersCurrently, no one owns script::Parser buffers, but yet ELFLinkingContext getsupdated with StringRef pointers to data inside Parser buffers. Since this bufferis locally owned inside GnuLdDriver::evalLinkerScript(), as soon as thisfunction finishes, all pointers in ELFLinkingContext that comes from linkerscripts get invalid. The problem is that we need someone to own linker scriptsdata structures and, since ELFLinkingContext transports references to linkerscripts data, we can simply make it also own all linker scripts data.Differential Revision: http://reviews.llvm.org/D7323llvm-svn: 227975
add_lld_library -> add_llvm_library* Works better for shared libraries (sets PRIVATE instead of INTERFACE)* Fixes http://llvm.org/bugs/show_bug.cgi?id=22269* Also, use build-target names instead
add_lld_library -> add_llvm_library* Works better for shared libraries (sets PRIVATE instead of INTERFACE)* Fixes http://llvm.org/bugs/show_bug.cgi?id=22269* Also, use build-target names instead of component namesDifferential Revision: http://reviews.llvm.org/D7074From: Greg Fitzgerald <[email protected]>llvm-svn: 226702
Revert "Add support library."This reverts commit r221583.llvm-svn: 221649
Add support library.The parsing routines in the linker script to parse strings encoded in variousformats(hexadecimal, octal, decimal, etc), is needed by the GNU driver too. Thislibrary provides h
Add support library.The parsing routines in the linker script to parse strings encoded in variousformats(hexadecimal, octal, decimal, etc), is needed by the GNU driver too. Thislibrary provides helper functions for all flavors and flavors to add helperfunctions which other flavors may make use of.llvm-svn: 221583
Update for llvm api change.llvm-svn: 212407
Refer to error_code with an std prefix.llvm-svn: 210820
Initial set of MakefilesThis provides support for the autoconfing & make build style.The format, style and implementation follows that used within the llvm and clang projects.TODO: implement out
Initial set of MakefilesThis provides support for the autoconfing & make build style.The format, style and implementation follows that used within the llvm and clang projects.TODO: implement out-of-source documentation builds.llvm-svn: 210177
Replace OwningPtr with std::unique_ptr.This results in some simplifications to the code where an OwningPtr had tobe used with the previous api and then ownership moved to a unique_ptr forthe rest
Replace OwningPtr with std::unique_ptr.This results in some simplifications to the code where an OwningPtr had tobe used with the previous api and then ownership moved to a unique_ptr forthe rest of lld.llvm-svn: 203809
Add basic linker script parsing.llvm-svn: 176309
Initial commit. Code by Nick Kledzik. Cleanups and build system by me.llvm-svn: 146844