summaryrefslogtreecommitdiffstats
path: root/lld/unittests/CoreTests
Commit message (Collapse)AuthorAgeFilesLines
* [Support] Move Parallel algorithms from LLD to LLVM.Zachary Turner2017-05-112-53/+0
| | | | | | Differential Revision: https://reviews.llvm.org/D33024 llvm-svn: 302748
* [Core] Make parallel algorithms match C++ Parallelism TS.Zachary Turner2017-05-101-2/+2
| | | | | | Differential Revision: https://reviews.llvm.org/D33016 llvm-svn: 302613
* Split up Parallel and LLVM'ize naming conventions.Zachary Turner2017-05-051-1/+1
| | | | | | | | | | | | This is one step in preparation of raising this up to LLVM. This hides all of the Executor stuff in a private implementation file, leaving only the core algorithms and the TaskGroup class exposed. In doing so, fix up all the variable names to conform to LLVM style. Differential Revision: https://reviews.llvm.org/D32890 llvm-svn: 302288
* Fix signed/unsigned comparison warning in a unit test. This was appearing onJames Henderson2017-04-071-1/+1
| | | | | | lld-x86_64-darwin13. llvm-svn: 299749
* [Core] Fix parallel_for for LinuxJames Henderson2017-04-071-0/+15
| | | | | | | | r299635 exposed a latent bug in the Linux implementation of parallel_for, which resulted in it calling the function outside of the range requested, resulting later in a segmentation fault. This change fixes this issue and adds a unit test. llvm-svn: 299748
* [CMake] Fix pthread handling for out-of-tree buildsEric Fiselier2017-02-101-1/+1
| | | | | | | | | | | | | | | LLVM defines `PTHREAD_LIB` which is used by AddLLVM.cmake and various projects to correctly link the threading library when needed. Unfortunately `PTHREAD_LIB` is defined by LLVM's `config-ix.cmake` file which isn't installed and therefore can't be used when configuring out-of-tree builds. This causes such builds to fail since `pthread` isn't being correctly linked. This patch attempts to fix that problem by renaming and exporting `LLVM_PTHREAD_LIB` as part of`LLVMConfig.cmake`. I renamed `PTHREAD_LIB` because It seemed likely to cause collisions with downstream users of `LLVMConfig.cmake`. llvm-svn: 294690
* Fix BUILD_SHARED_LIBS build.Rafael Espindola2016-03-011-0/+4
| | | | llvm-svn: 262345
* Remove lld/Core/range.h.Rui Ueyama2016-02-282-241/+0
| | | | | | | | | | | IIUC, range was an experiment to see how N3350 would work in LLD. It turned out it didn't get traction, and it is basically duplicate of iterator_range in ADT. We have only two occurrences of range, and all of them are easily rewritten without it. http://reviews.llvm.org/D17687 llvm-svn: 262171
* Remove Makefiles.Rui Ueyama2015-03-261-14/+0
| | | | | | | | Most developers prefer to not have them, and we agreed to remove them from LLD. http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-March/083368.html llvm-svn: 233313
* MSVC 2013 appears to be able to compile make_ptr_range without issue, so ↵Aaron Ballman2015-02-161-3/+0
| | | | | | removing that guard in the unit test. llvm-svn: 229410
* Use LLVMLIBS here since these are produced by theEric Christopher2014-11-041-1/+1
| | | | | | | llvm build and not supposed to be resident on the system. llvm-svn: 221314
* Sort include files according to convention.Shankar Easwaran2014-10-182-5/+1
| | | | llvm-svn: 220131
* Initial set of MakefilesIain Sandoe2014-06-041-0/+14
| | | | | | | | This 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
* Rename TargetInfo -> LinkingContext.Rui Ueyama2013-08-061-6/+6
| | | | | | | | | Also change some local variable names: "ti" -> "context" and "_targetInfo" -> "_context". Differential Revision: http://llvm-reviews.chandlerc.com/D1301 llvm-svn: 187823
* Fix the build with clang and libstdc++4.7.Rafael Espindola2013-07-161-2/+2
| | | | llvm-svn: 186451
* [Core] Add parallel infrastructure to lld.Michael J. Spencer2013-04-122-0/+34
| | | | | | Uses ConcRT and PPL on Windows. llvm-svn: 179397
* [Driver] Fix symlinked universal driver behavior and add a test.Michael J. Spencer2013-04-042-0/+248
llvm-svn: 178798
OpenPOWER on IntegriCloud