- May 17, 2013
-
-
Shankar Easwaran authored
This patch splits X86_64Target specific code so that the dynamic atoms and the Relocation handlers are in seperate files for easier maintenace. The files are sure to grow and this makes it easier to work with. * There is no change in functionality * llvm-svn: 182076
-
- May 16, 2013
-
-
Rui Ueyama authored
llvm-svn: 182033
-
Rui Ueyama authored
llvm-svn: 182031
-
- May 15, 2013
-
-
Rui Ueyama authored
llvm-svn: 181852
-
- May 14, 2013
-
-
Rui Ueyama authored
llvm-svn: 181822
-
Rui Ueyama authored
llvm-svn: 181804
-
Rui Ueyama authored
llvm-svn: 181752
-
Rui Ueyama authored
Summary: Split buildFollowOnTable to small functions to improve code readability and remove code duplication. No change in functionality. CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D790 llvm-svn: 181749
-
- May 11, 2013
-
-
Rui Ueyama authored
llvm-svn: 181655
-
Rui Ueyama authored
llvm-svn: 181652
-
Rui Ueyama authored
llvm-svn: 181640
-
- May 10, 2013
-
-
Shankar Easwaran authored
llvm-svn: 181622
-
Shankar Easwaran authored
Layoutpass by ordering atoms if they appear in the override list first and then looking at the way of ordering atoms in the default way. The fix also fixes issues with the sizes of the sections, that appear in the output properly too. The commit also adds a testcase(orderatoms-by-override.test) to test it and fixes all the other relevant testcases. llvm-svn: 181605
-
Rui Ueyama authored
Also shuffle the atoms so that it can verify the layout pass actually changed the layout. llvm-svn: 181573
-
- May 09, 2013
-
-
Rui Ueyama authored
llvm-svn: 181547
-
Rui Ueyama authored
llvm-svn: 181503
-
Rui Ueyama authored
llvm-svn: 181492
-
Rui Ueyama authored
We need to acquire a lock before signal a condition. Otherwise threads waiting on a condition variable can miss a signal. Consider two threads: Thread A executing dec() and thread B executing sync(). The initial value of _count is 1. If these two threads are interleaved in the following order, thread B misses the signal sent by thread A, because at the time thread A sends a signal, B is not waiting for it. Thread A | Thread B | std::unique_lock<std::mutex> lock(_condMut); | while (!(_count == 0)) { if (--_count == 0) | _cond_notify_all() | | _cond.wait(); | } Note that "wait(lock, pred)" is equivalent to "while(!pred()) wait(lock)", so I expanded it in the above example. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D764 llvm-svn: 181484
-
Rui Ueyama authored
Summary: Add the explicit keyword to one-parameter constructors to prevent unintended type conversions. CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D765 llvm-svn: 181483
-
- May 08, 2013
-
-
Nick Kledzik authored
llvm-svn: 181473
-
- May 07, 2013
-
-
Shankar Easwaran authored
llvm-svn: 181325
-
Shankar Easwaran authored
llvm-svn: 181288
-
Michael J. Spencer authored
This makes the target handler a constructor argument because the constructor of OutputELFWriter relies on it being initialized. llvm-svn: 181280
-
Michael J. Spencer authored
llvm-svn: 181279
-
- May 06, 2013
-
-
Shankar Easwaran authored
llvm-svn: 181244
-
Tim Northover authored
llvm-svn: 181188
-
- May 01, 2013
-
-
Shankar Easwaran authored
llvm-svn: 180872
-
- Apr 30, 2013
-
-
Shankar Easwaran authored
llvm-svn: 180769
-
- Apr 29, 2013
-
-
Shankar Easwaran authored
[lld][ELF] (no testable functionality change) resize the number of entries in the string table for static linking llvm-svn: 180692
-
Shankar Easwaran authored
[lld][ELF] (no testable functionality change) resize the number of entries in the string table for static linking llvm-svn: 180691
-
Shankar Easwaran authored
llvm-svn: 180690
-
- Apr 24, 2013
-
-
Michael J. Spencer authored
Patch by Rui Ueyama. llvm-svn: 180209
-
- Apr 16, 2013
-
-
Andy Gibbs authored
Suggested by Nick Kledzik in reference to r179590. llvm-svn: 179617
-
Andy Gibbs authored
Moved llvm_unreachable out of switch blocks to avoid the "control reaches end of non-void function" warning. llvm-svn: 179590
-
- Apr 12, 2013
-
-
Michael J. Spencer authored
Uses ConcRT and PPL on Windows. llvm-svn: 179397
-
Nico Rieck authored
llvm-svn: 179364
-
- Apr 11, 2013
-
-
Shankar Easwaran authored
llvm-svn: 179264
-
Shankar Easwaran authored
llvm-svn: 179260
-
Shankar Easwaran authored
to the list of undefined atoms. The processing of undefined atoms from dynamic libraries is controlled by use-shlib-undefines command line option. This patch also adds additional command line arguments to allow/disallow unresolved symbols from shared libraries and mimics GNU ld behavior. llvm-svn: 179257
-
- Apr 06, 2013
-
-
Michael J. Spencer authored
llvm-svn: 178940
-