llvm/lib/ObjectYAML
Jake Ehrlich 9ae2da659f [yaml2obj][ELF] Add support for setting alignment in program headers
Sometimes program headers have larger alignments than any of the
sections they contain. Currently yaml2obj can't produce such files. A
bug recently appeared in llvm-objcopy that failed in such a case. I'd
like to be able to add tests to llvm-objcopy for such cases.

This change adds an optional alignment parameter to program headers that
will be used instead of calculating the alignment.

Differential Revision: https://reviews.llvm.org/D39130

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317139 91177308-0d34-0410-b5e6-96231b3b80d8
2017-11-01 23:14:48 +00:00
..
CMakeLists.txt [ObjectYAML] Split CodeViewYAML into 3 pieces. 2017-05-31 04:17:13 +00:00
CodeViewYAMLDebugSections.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00
CodeViewYAMLSymbols.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00
CodeViewYAMLTypes.cpp [codeview] Fix YAML for LF_TYPESERVER2 by hoisting PDB_UniqueId 2017-07-17 23:59:44 +00:00
COFFYAML.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00
DWARFEmitter.cpp Move helper classes into anonymous namespaces. 2017-08-20 13:03:48 +00:00
DWARFVisitor.cpp Move helper classes into anonymous namespaces. 2017-08-20 13:03:48 +00:00
DWARFVisitor.h Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
DWARFYAML.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00
ELFYAML.cpp [yaml2obj][ELF] Add support for setting alignment in program headers 2017-11-01 23:14:48 +00:00
LLVMBuild.txt [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
MachOYAML.cpp llvm-dwarfdump: support dumping UUIDs of Mach-O binaries. 2017-09-13 18:22:59 +00:00
ObjectYAML.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00
WasmYAML.cpp [WebAssembly] Allow each data segment to specify its own alignment 2017-09-29 16:50:08 +00:00
YAML.cpp [ObjectYAML] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-07-01 01:35:55 +00:00