- Oct 08, 2013
-
-
Rui Ueyama authored
llvm-svn: 192165
-
Rui Ueyama authored
llvm-svn: 192164
-
Rui Ueyama authored
llvm-svn: 192163
-
Rui Ueyama authored
llvm-svn: 192162
-
Nick Kledzik authored
llvm-svn: 192154
-
Nick Kledzik authored
llvm-svn: 192153
-
Nick Kledzik authored
llvm-svn: 192152
-
Rui Ueyama authored
llvm-svn: 192149
-
Rui Ueyama authored
Summary: The original code with enum "_" is intended to emulate scoped enums. Now we have real scoped enums, so use it. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1852 llvm-svn: 192148
-
Nick Kledzik authored
This is the first step in how I plan to get mach-o object files support into lld. We need to be able to test the mach-o Reader and Write on systems without a mach-o tools. Therefore, we want to support a textual way (YAML) to represent mach-o files. MachONormalizedFile.h defines an in-memory abstraction of the content of mach-o files. The in-memory data structures are always native endianess and always use 64-bit sizes. That internal data structure can then be converted to or from three different formats: 1) yaml (text) encoded mach-o, 2) binary mach-o files, 3) lld Atoms. This patch defines the internal model and uses YAML I/O to implement the conversion to and from the model to yaml. The next patch will implement the conversion from normalized to binary mach-o. This patch includes unit tests to validate the yaml conversion APIs. llvm-svn: 192147
-
- Oct 07, 2013
-
-
Rui Ueyama authored
Summary: Rename lld:*_error::_ -> lld:*_error::ErrorCode. Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1851 llvm-svn: 192138
-
Shankar Easwaran authored
This field would eventually be used. llvm-svn: 192084
-
Shankar Easwaran authored
llvm-svn: 192083
-
Shankar Easwaran authored
Fix adding a missed file in the previous commit. llvm-svn: 192082
-
Shankar Easwaran authored
Changes :- a) Functionality in InputGraph to insert Input elements at any position b) Functionality in the Resolver to use nextFile c) Move the functionality of assigning file ordinals to InputGraph d) Changes all inputs to MemoryBuffers e) Remove LinkerInput, InputFiles, ReaderArchive llvm-svn: 192081
-
- Oct 03, 2013
-
-
Michael J. Spencer authored
llvm-svn: 191924
-
Michael J. Spencer authored
llvm-svn: 191867
-
Michael J. Spencer authored
Found this with asan. Code assumes that find doesn't return end, thus if both atoms didn't have followon roots it would still compare their positions. llvm-svn: 191865
-
- Sep 28, 2013
-
-
Nick Kledzik authored
llvm-svn: 191594
-
Rui Ueyama authored
llvm-svn: 191583
-
Nick Kledzik authored
Stop using some locally defined mach-o constants. llvm-svn: 191581
-
Rui Ueyama authored
llvm-svn: 191580
-
- Sep 27, 2013
-
-
Michael J. Spencer authored
This will eventually need to be refactored to better handle COPY relocations, as other relocations can also generate them. I'm not yet sure the exact circumstances in which they are needed yet. llvm-svn: 191567
-
Michael J. Spencer authored
llvm-svn: 191566
-
Rui Ueyama authored
This reverts r191469 because the original patch this one depends on (r191472) was reverted. llvm-svn: 191479
-
Rui Ueyama authored
llvm-svn: 191475
-
Rui Ueyama authored
llvm-svn: 191469
-
Michael J. Spencer authored
llvm-svn: 191467
-
Michael J. Spencer authored
llvm-svn: 191466
-
- Sep 26, 2013
-
-
Michael J. Spencer authored
llvm-svn: 191403
-
- Sep 25, 2013
-
-
Rui Ueyama authored
This patch inverts the return value of these functions, so that they return "true" on success and "false" on failure. The meaning of boolean return value was mixed in LLD; for example, InputGraph::validate() returns true on success. With this patch they'll become consistent. CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1748 llvm-svn: 191341
-
- Sep 24, 2013
-
-
Rui Ueyama authored
llvm-svn: 191320
-
Rui Ueyama authored
llvm-svn: 191317
-
Rui Ueyama authored
llvm-svn: 191276
-
Rui Ueyama authored
/PDBALTPATH:<path> is an option to embed a different path for the PDB file to the binary than the actual PDB file location. Because we don't support PDB file, we'll just ignore the option for now. llvm-svn: 191273
-
Rui Ueyama authored
llvm-svn: 191272
-
Rui Ueyama authored
llvm-svn: 191271
-
Rui Ueyama authored
llvm-svn: 191270
-
Rui Ueyama authored
llvm-svn: 191269
-
Rui Ueyama authored
llvm-svn: 191268
-