llvm/lib/ObjectYAML
Chris Bieneman 46c1e8f8c6 [yaml2macho] Removing asserts in favor of explicit yaml parse error
32-bit Mach headers don't have reserved fields. When generating the
mapping for 32-bit headers leaving off the reserved field will result in
parse errors if the field is present in the yaml.

Added a CHECK-NOT line to ensure that mach_header.yaml isn't adding a
reserved field, and a test to ensure that the parser error gets hit with
32-bit headers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273623 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-23 22:36:31 +00:00
..
CMakeLists.txt [ObjectYAML] Support Thin MachO headers to YAML 2016-05-12 16:04:16 +00:00
COFFYAML.cpp [COFF] Expose the PE debug data directory and dump it 2016-06-02 17:10:43 +00:00
ELFYAML.cpp Support/ELF: Add AMDGPU relocation definitions to match documentation 2016-06-17 22:38:08 +00:00
LLVMBuild.txt
MachOYAML.cpp [yaml2macho] Removing asserts in favor of explicit yaml parse error 2016-06-23 22:36:31 +00:00
YAML.cpp