- Oct 16, 2013
-
-
Rui Ueyama authored
llvm-svn: 192772
-
Rui Ueyama authored
We want to make the program to exit with non-zero exit code if there's an error during dead stripping. llvm-svn: 192771
-
- Oct 14, 2013
-
-
Nick Kledzik authored
llvm-svn: 192627
-
Shankar Easwaran authored
llvm-svn: 192614
-
- Oct 12, 2013
-
-
Rui Ueyama authored
llvm-svn: 192509
-
- Oct 11, 2013
-
-
Shankar Easwaran authored
There are aliases for --start-group/--end-group options represented by -( and -) respectively in the command line. This change adds and improves the test for the alias options to be tested. Looks like users use this option widely than explicitly using --start-group/--end-group. llvm-svn: 192470
-
Rui Ueyama authored
llvm-svn: 192427
-
Rui Ueyama authored
llvm-svn: 192424
-
Rui Ueyama authored
allowRemainingUndefines() is already checked in Resolver::resolve(), so we don't need to check it again after returning from it. It's actually not only superfluous but buggy because a failure of resolve() does not always mean that there is a remaining undefines. llvm-svn: 192423
-
Rui Ueyama authored
llvm-svn: 192422
-
Rui Ueyama authored
This eliminates _elements's size check from the loop. llvm-svn: 192418
-
Rui Ueyama authored
llvm-svn: 192416
-
Rui Ueyama authored
This patch also handles errors other than no_more_files error. They were silently ignored. llvm-svn: 192415
-
Shankar Easwaran authored
llvm-svn: 192414
-
Shankar Easwaran authored
This also reverts the LayoutPass to use std::sort as all files have an ordinal now. llvm-svn: 192409
-
Rui Ueyama authored
llvm-svn: 192401
-
- Oct 10, 2013
-
-
Shankar Easwaran authored
llvm-svn: 192369
-
Shankar Easwaran authored
This is only a step to clean the buildbot. llvm-svn: 192368
-
Shankar Easwaran authored
llvm-svn: 192360
-
Rui Ueyama authored
-- so that command line options to specify new input files, such as /defaultlib:foo, is handled properly. Such options were ignored before this patch. llvm-svn: 192342
-
- Oct 09, 2013
-
-
Rui Ueyama authored
A file with .objtxt extension is parsed in readFile(), but because we did not propagate that information to the calling side, calling side would try to parse it again. This patch will fix the issue by adding an extra parameter to readFile(). llvm-svn: 192311
-
Shankar Easwaran authored
llvm-svn: 192310
-
Shankar Easwaran authored
This change removes code in various places which was setting the File Ordinals. This is because the file ordinals are assigned by the way files are resolved. There was no other way than making the getNextFileAndOrdinal be set const and change the _nextOrdinal to mutable. There are so many places in code, that you would need to cleanup to make LinkingContext non-const! llvm-svn: 192280
-
Shankar Easwaran authored
llvm-svn: 192278
-
Shankar Easwaran authored
llvm-svn: 192277
-
Shankar Easwaran authored
Will fix this in later commits. Not sure why the regex is not passing. llvm-svn: 192273
-
Shankar Easwaran authored
llvm-svn: 192270
-
Shankar Easwaran authored
This associates resolveState to FileNodes. The control node derive their resolution state from the inputElements that are contained in it. This makes --start-group/--end-group to work with ELF linking. llvm-svn: 192269
-
Rui Ueyama authored
llvm-svn: 192261
-
Rui Ueyama authored
llvm-svn: 192260
-
Rui Ueyama authored
Output to llvm::err() is not guaranteed to be thread-safe, so it needs to be guarded with a lock. Differential Revision: http://llvm-reviews.chandlerc.com/D1862 llvm-svn: 192250
-
Rui Ueyama authored
llvm-svn: 192249
-
- Oct 08, 2013
-
-
Rui Ueyama authored
llvm-svn: 192230
-
Rui Ueyama authored
llvm-svn: 192229
-
Shankar Easwaran authored
llvm-svn: 192183
-
Shankar Easwaran authored
llvm-svn: 192172
-
Rui Ueyama authored
llvm-svn: 192170
-
Rui Ueyama authored
llvm-svn: 192169
-
Rui Ueyama authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1853 llvm-svn: 192167
-
Rui Ueyama authored
llvm-svn: 192165
-