- Sep 10, 2013
-
-
Rui Ueyama authored
Process::GetEnv() uses GetEnvironmentVariableW, which is a Windows API to get an environment variable and is preferable over getenv(). llvm-svn: 190431
-
- Sep 09, 2013
-
-
Rui Ueyama authored
llvm-svn: 190332
-
Rui Ueyama authored
llvm-svn: 190329
-
Joerg Sonnenberger authored
llvm-svn: 190301
-
- Sep 08, 2013
-
-
Joerg Sonnenberger authored
attribute in LinkerInput to isWholeArchive and use that for deciding whether library archives should be expanded. Implement the -all_load option of the Darwin linker using this flag and drop the support for it in GNU mode. llvm-svn: 190275
-
- Sep 07, 2013
-
-
Joerg Sonnenberger authored
reference. Move readFile logic into FileNode::createLinkerInput. llvm-svn: 190253
-
- Sep 06, 2013
-
-
Rui Ueyama authored
llvm-svn: 190121
-
Rui Ueyama authored
llvm-svn: 190119
-
Rui Ueyama authored
llvm-svn: 190117
-
- Sep 05, 2013
-
-
Rui Ueyama authored
llvm-svn: 190095
-
- Sep 04, 2013
-
-
Rui Ueyama authored
The compiler is allowed to add a linker option starting with -?<name> to .drectve section. If the linker can interpret -<name>, it's processed as if there's no question mark there. If not, such option is silently ignored. This is a COFF's feature to allow the compiler to emit new linker options while keeping compatibility with older linkers. llvm-svn: 189897
-
Rui Ueyama authored
Before this patch, name of driver implementation is not consistent with its option table file. Specifically, LDOptions has a different prefix than GnuLdDriver. This patch renames option files, so that the option files have the same prefix as the corresponding driver files. Differential Revision: http://llvm-reviews.chandlerc.com/D1591 llvm-svn: 189895
-
Shankar Easwaran authored
llvm-svn: 189891
-
Shankar Easwaran authored
Also add a llvm_unreachable call so that the linker will trip on unhandled inputElement types. llvm-svn: 189887
-
Joerg Sonnenberger authored
llvm-svn: 189883
-
Rui Ueyama authored
llvm-svn: 189881
-
Rui Ueyama authored
llvm-svn: 189877
-
Shankar Easwaran authored
This changes the interface of createLinkerInput to use ErrorOr, so that errors from the linker can be captured. Also adds a convenience function for error strings to be returned from file nodes. llvm-svn: 189871
-
- Sep 03, 2013
-
-
Joerg Sonnenberger authored
llvm-svn: 189847
-
Joerg Sonnenberger authored
llvm-svn: 189826
-
Rui Ueyama authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1577 llvm-svn: 189777
-
- Sep 02, 2013
-
-
Joerg Sonnenberger authored
llvm-svn: 189771
-
Joerg Sonnenberger authored
llvm-svn: 189752
-
- Aug 31, 2013
-
-
Shankar Easwaran authored
This creates .init_array/.fini_array section for X86_64 ELF targets and executes init/fini functions specified by the -init/-fini options respectively. llvm-svn: 189719
-
Shankar Easwaran authored
This adds an API to the LinkingContext for flavors to add Internal files containing atoms that need to appear in the YAML output as well, when -emit-yaml switch is used. Flavors can add more internal files for other options that are needed. llvm-svn: 189718
-
- Aug 29, 2013
-
-
Rui Ueyama authored
llvm-svn: 189614
-
- Aug 28, 2013
-
-
Rui Ueyama authored
llvm-svn: 189505
-
- Aug 27, 2013
-
-
Rui Ueyama authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1527 llvm-svn: 189318
-
Rui Ueyama authored
llvm-svn: 189310
-
Rui Ueyama authored
llvm-svn: 189308
-
Rui Ueyama authored
With this patch the entry symbol is treated as an undefined symbol, to force the resolver to resolve the entry symbol. Differential Revision: http://llvm-reviews.chandlerc.com/D1524 llvm-svn: 189307
-
- Aug 26, 2013
-
-
Rui Ueyama authored
Patch by Jesús Serrano García. llvm-svn: 189267
-
Shankar Easwaran authored
llvm-svn: 189207
-
- Aug 25, 2013
-
-
Shankar Easwaran authored
llvm-svn: 189197
-
- Aug 24, 2013
-
-
Saleem Abdulrasool authored
This completes the subsystem name parsing to support the identifiers that the Microsoft link.exe linker supports. "windows" and "console" are left as the first items as they are the expected common paths. Signed-off-by:
Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 189181
-
Rui Ueyama authored
in order to match link.exe's behaviour. Patch by Ron Ofir. llvm-svn: 189159
-
Rui Ueyama authored
Patch by Ron Ofir. llvm-svn: 189151
-
- Aug 22, 2013
-
-
Shankar Easwaran authored
llvm-svn: 189035
-
Shankar Easwaran authored
llvm-svn: 189025
-
Shankar Easwaran authored
llvm-svn: 188963
-