summaryrefslogtreecommitdiffstats
path: root/lld/Common/Args.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Coding style change][lld] Rename variables for non-ELF portsRui Ueyama2019-07-111-38/+38
| | | | | | | | | | | This patch does the same thing as r365595 to other subdirectories, which completes the naming style change for the entire lld directory. With this, the naming style conversion is complete for lld. Differential Revision: https://reviews.llvm.org/D64473 llvm-svn: 365730
* [lld] Allow args::getInterger to parse args larger than 2^31-1Sam Clegg2019-06-071-2/+3
| | | | | | Differential Revision: https://reviews.llvm.org/D62933 llvm-svn: 362770
* [LTO] Set CGOptLevel in LTO config.Sam Clegg2019-01-301-0/+9
| | | | | | | | | Previously we were never setting this which means it was always being set to Default (-O2/-Os). Differential Revision: https://reviews.llvm.org/D57422 llvm-svn: 352667
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* Allow later -z name=<int> args to override earlier argsRyan Prichard2018-09-261-1/+1
| | | | | | | | | | | | | | | | | | Summary: lld already gives later -z options precedence in getZFlag(). This matches the behavior of ld.bfd and ld.gold, where later options override earlier ones. (I tested with -z max-page-size and -z stack-size.) Reviewers: ruiu, espindola, grimar Reviewed By: ruiu, grimar Subscribers: grimar, emaste, arichardson, llvm-commits Differential Revision: https://reviews.llvm.org/D52526 llvm-svn: 343145
* Rename a function to follow the LLVM coding style.Rui Ueyama2018-08-271-1/+1
| | | | llvm-svn: 340716
* win: Omit ".exe" from lld warning and error messages.Nico Weber2018-08-221-0/+7
| | | | | | | | | | | This is a minor follow-up to https://reviews.llvm.org/D49189. On Windows, lld used to print "lld-link.exe: error: ...". Now it just prints "lld-link: error: ...". This matches what link.exe does (it prints "LINK : ...") and makes lld's output less dependent on the host system. https://reviews.llvm.org/D51133 llvm-svn: 340487
* Handle --plugin-opt= options as alias options.Rui Ueyama2018-05-221-7/+11
| | | | | | | | | | Previously, we had a loop to iterate over options starting with `--plugin-opt=` and parse them by hand. But we can make OptTable do that job for us. Differential Revision: https://reviews.llvm.org/D47167 llvm-svn: 332935
* Fix formatting.Rui Ueyama2017-11-281-2/+2
| | | | llvm-svn: 319212
* Factor out more code to Common/Args.cpp.Rui Ueyama2017-11-281-0/+62
Differential Revision: https://reviews.llvm.org/D40540 llvm-svn: 319211
OpenPOWER on IntegriCloud