llvm-project/lld/test
Nick Kledzik 6edd722a2c [mach-o] enable mach-o and native yaml to be intermixed
The main goal of this patch is to allow "mach-o encoded as yaml" and "native
encoded as yaml" documents to be intermixed.  They are distinguished via 
yaml tags at the start of the document.  This will enable all mach-o test cases
to be written using yaml instead of checking in object files.

The Registry was extend to allow yaml tag handlers to be registered.  The
mach-o Reader adds a yaml tag handler for the tag "!mach-o". 

Additionally, this patch fixes some buffer ownership issues.  When parsing
mach-o binaries, the mach-o atoms can have pointers back into the memory 
mapped .o file.  But with yaml encoded mach-o, name and content are ephemeral, 
so a copyRefs parameter was added to cause the mach-o atoms to make their
own copy.  

llvm-svn: 198986
2014-01-11 01:07:43 +00:00
..
Driver Add missing triples so that these tests pass on 32 bit arch. 2014-01-09 00:07:20 +00:00
Unit [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 18:51:17 +00:00
core [mach-o] enable mach-o and native yaml to be intermixed 2014-01-11 01:07:43 +00:00
darwin [mach-o] enable mach-o and native yaml to be intermixed 2014-01-11 01:07:43 +00:00
elf Add missing triples so that these tests pass on 32 bit arch. 2014-01-09 00:07:20 +00:00
pecoff [PECOFF] Support module-definition file. 2014-01-10 10:19:47 +00:00
CMakeLists.txt Add llc to check-lld deps. We use the command in lit.cfg. 2013-09-02 23:26:00 +00:00
linker-script.test [lld][ELF] Add parser for linker script ENTRY command 2013-06-03 18:05:21 +00:00
lit.cfg [PECOFF] Add a test for r197803. 2014-01-09 01:11:48 +00:00
lit.site.cfg.in [tests] Update to use lit_config and lit package, as appropriate. 2013-08-09 18:51:17 +00:00