- Nov 14, 2013
-
-
Rui Ueyama authored
llvm-svn: 194671
-
Rui Ueyama authored
llvm-svn: 194668
-
Rui Ueyama authored
YAML files tend to be very large compared to binary formats because of ASCII format inefficiency. And the YAML reader consumes an excessively large amount of memory when parsing a large file. It's very slow too. For example, I observed that 6MB executable became 120MB YAML file, and the YAML reader consumed more than 1.5GB memory to load it. The YAML reader even caused OOM error on 32 bit, causing the entire process to fail. This patch sets the limit on the YAML file size the linker will try to load in the RoundTripYAML test as a safeguard. llvm-svn: 194666
-
Michael J. Spencer authored
llvm-svn: 194643
-
Michael J. Spencer authored
This dependency needs to be cleaned up at some point. .directve handling needs the link.exe option parser. llvm-svn: 194642
-
Michael J. Spencer authored
llvm-svn: 194641
-
Rui Ueyama authored
llvm-svn: 194624
-
Rui Ueyama authored
llvm-svn: 194620
-
Rui Ueyama authored
llvm-svn: 194619
-
- Nov 13, 2013
-
-
Rui Ueyama authored
No functionality change. llvm-svn: 194560
-
Rui Ueyama authored
llvm-svn: 194556
-
Rui Ueyama authored
This reverts commit r194551 because it broke the buildbot. llvm-svn: 194552
-
Rui Ueyama authored
llvm-svn: 194551
-
Rui Ueyama authored
llvm-svn: 194550
-
Rui Ueyama authored
llvm-svn: 194545
-
Rui Ueyama authored
llvm-svn: 194539
-
- Nov 12, 2013
-
-
Rui Ueyama authored
llvm-svn: 194492
-
Alp Toker authored
llvm-svn: 194481
-
- Nov 11, 2013
-
-
Rui Ueyama authored
llvm-svn: 194364
-
Shankar Easwaran authored
no functionality change. llvm-svn: 194360
-
Shankar Easwaran authored
llvm-svn: 194359
-
- Nov 10, 2013
-
-
Rui Ueyama authored
The result of sizeof(SymbolTable<ELFT>::SymbolEntry) in DynamicSymbolTable <ELFT>::write() was different from the same expression in RelocationTable <ELFT>::write(), although the same template parameters were passed. They were 40 and 32, respectively. As a result, the same vector was treated as a vector of 40 byte values in some places and a vector of 32 values in other places. That caused an weird issue, resulting in collapse of the rela.dyn section. I suspect that this is a padding size calculation bug in MSVC 2012, but I may be wrong. Reordering the fields to eliminate padding seems to fix the issue. llvm-svn: 194349
-
- Nov 09, 2013
-
-
Rui Ueyama authored
llvm-svn: 194322
-
Nick Kledzik authored
llvm-svn: 194305
-
Nick Kledzik authored
llvm-svn: 194299
-
Nick Kledzik authored
llvm-svn: 194292
-
Nick Kledzik authored
llvm-svn: 194290
-
- Nov 08, 2013
-
-
Nick Kledzik authored
llvm-svn: 194280
-
Michael J. Spencer authored
llvm-svn: 194278
-
- Nov 07, 2013
-
-
Nick Kledzik authored
llvm-svn: 194187
-
Nick Kledzik authored
llvm-svn: 194186
-
- Nov 06, 2013
-
-
Nick Kledzik authored
llvm-svn: 194177
-
Nick Kledzik authored
llvm-svn: 194173
-
Nick Kledzik authored
llvm-svn: 194172
-
Nick Kledzik authored
llvm-svn: 194171
-
Nick Kledzik authored
llvm-svn: 194169
-
Nick Kledzik authored
This patch adds support for converting normalized mach-o to and from binary mach-o. It also changes WriterMachO (which previously directly wrote a mach-o binary given a set of Atoms) to instead do it in two steps. The first step uses normalizedFromAtoms() to convert Atoms to normalized mach-o, and the second step uses writeBinary() which to generate the mach-o binary file. llvm-svn: 194167
-
Nick Kledzik authored
llvm-svn: 194166
-
Rui Ueyama authored
These fields are for /align option. Section alignment can be set per-section basis with /section option too. In order to avoid name conflicts, rename the existing identifiers to become more specific. No functionality change. llvm-svn: 194160
-
Rui Ueyama authored
/section command line option is to set/reset attributes of the Characteristics field in the section header. You can set non-default values with this option. You can make .data section executable with this, for example. This patch implements the parser of the command line option. The code to use the parsed values will be committed in a separate patch. llvm-svn: 194133
-