| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 184115
|
|
|
|
| |
llvm-svn: 184025
|
|
|
|
| |
llvm-svn: 184022
|
|
|
|
|
|
|
| |
For consistency, change the address in the test case from 0xDEADBEEF to
0xCAFEBABE since 0xCAFEBABE that actually has a 2-byte alignment.
llvm-svn: 183962
|
|
|
|
| |
llvm-svn: 183955
|
|
|
|
| |
llvm-svn: 183954
|
|
|
|
|
|
|
| |
The current functionality is extremely basic and a bit rough around the
edges, but it will flesh out in future commits.
llvm-svn: 183953
|
|
|
|
|
|
| |
Should bring bots back to life.
llvm-svn: 183715
|
|
|
|
|
|
|
|
|
| |
Currently, only emitting the ELF header is supported (no sections or
segments).
The ELFYAML code organization is broadly similar to the COFFYAML code.
llvm-svn: 183711
|
|
|
|
| |
llvm-svn: 183403
|
|
|
|
|
|
| |
This avoids making assumptions about the data representation.
llvm-svn: 183349
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, yaml2coff.cpp had a writeHexData static helper function to
do this, but it is generally useful functionality.
Also, validate hex strings up-front to avoid running having to handle
errors "deep inside" the yaml2obj code (it also gives better diagnostics
than it used to).
llvm-svn: 183345
|
|
|
|
| |
llvm-svn: 183335
|
|
|
|
|
|
|
|
|
|
|
|
| |
See the comment in yaml2obj.cpp for why this is currently needed.
Eventually we can get rid of this, but for now it is needed in order to
make forward progress with adding ELF support, and should be
straightforward to remove later.
Also, preserve the default of COFF, to avoid breaking existing tests.
This policy can easily be changed later though.
llvm-svn: 183332
|
|
|
|
| |
llvm-svn: 183042
|
|
|
|
| |
llvm-svn: 183040
|
|
|
|
| |
llvm-svn: 182172
|
|
|
|
| |
llvm-svn: 182169
|
|
|
|
|
|
|
|
| |
The alignment is just a byte in the middle of Characteristics, not an
independent flag. Making it an independent field in the yaml
representation makes it more yamlio friendly.
llvm-svn: 181243
|
|
|
|
| |
llvm-svn: 180247
|
|
|
|
| |
llvm-svn: 180137
|
|
|
|
|
|
|
|
|
|
|
|
| |
The COFFParser now contains only a COFFYAML::Object and the string table
(which is recomputed, not serialized).
The structs in COFFParser now all begin with a Header field with what is
actually on the COFF object. The other fields are things that are semantically
part of the struct (relocations in a section for exmaple), but are not actually
represented that way in the object file.
llvm-svn: 180134
|
|
|
|
| |
llvm-svn: 180115
|
|
|
|
|
|
|
| |
Instead, use MappingNormalization to directly parse COFF::header. Also change
the naming convention of the helper classes to be a bit shorter.
llvm-svn: 179917
|
|
|
|
|
|
|
|
| |
Use MappingNormalization to read a COFF::relocation directly.
No functionality change.
llvm-svn: 179891
|
|
llvm-svn: 178904
|