- May 28, 2013
-
-
Michael J. Spencer authored
llvm-svn: 182795
-
Michael J. Spencer authored
llvm-svn: 182794
-
Michael J. Spencer authored
The expression _atomToAddressMap[atom] may modify _atomToAddressMap. llvm-svn: 182793
-
Michael J. Spencer authored
llvm-svn: 182792
-
Michael J. Spencer authored
llvm-svn: 182789
-
Michael J. Spencer authored
llvm-svn: 182787
-
Michael J. Spencer authored
llvm-svn: 182786
-
Rui Ueyama authored
Add WinLinkDriver and connect it to the existing COFF reader. Remaining parts are still stubs, so while it can now read a COFF file, it still cannot link or output PE/COFF files yet. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D865 llvm-svn: 182784
-
- May 27, 2013
-
-
Rui Ueyama authored
llvm-svn: 182721
-
- May 26, 2013
-
-
Rui Ueyama authored
llvm-svn: 182714
-
- May 25, 2013
-
-
Rui Ueyama authored
llvm-svn: 182709
-
Michael J. Spencer authored
llvm-svn: 182697
-
- May 23, 2013
-
-
Rui Ueyama authored
Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D847 llvm-svn: 182595
-
Rui Ueyama authored
DEBUG_TYPE is already defined at the beginning of this file. We don't want to have two different debug flags for a single pass. Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D845 llvm-svn: 182543
-
- May 22, 2013
-
-
Rui Ueyama authored
Summary: "W" bit value was not consistent in ContentPermissions enum. It should always be 2. Reviewers: kledzik CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D810 llvm-svn: 182515
-
Shankar Easwaran authored
be laid out by their ordinal overrides first, there was a bug that two atoms may get the same override index due to which atoms were not ordered properly. This commit fixes the problem. Now the atoms are ordered by - Section Position hints - Atom override (Using layout-after/layout-before/in-group) - Content Permissions - Content Type - File Ordinal This also fixes the problem of running c++ static executables that was broken by an earlier patch. llvm-svn: 182494
-
- May 21, 2013
-
-
Shankar Easwaran authored
llvm-svn: 182427
-
Rui Ueyama authored
This binary file is created from shared.c. llvm-svn: 182410
-
- May 20, 2013
-
-
Shankar Easwaran authored
so that their names are hidden. This addresses comments raised by Sean/Rafael. llvm-svn: 182230
-
- May 17, 2013
-
-
Shankar Easwaran authored
only if they are relative. This removes the FIXME when the relocations are being emitted and checks if the relocation is relative and only then populates the addend information. I couldnt add a testcase for this as llvm-readobj lacks functionality of printing dynamic relocations. When the functionality is added, remove the commented lines from elf/ifunc.test to test functionality. llvm-svn: 182077
-
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
-