[PATCH] llvm-link: Verify input modules

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Mar 24 20:03:30 PDT 2015


This patch starts verifying input modules to `llvm-link`.  Otherwise,
broken input modules can cause assertions in `lib/Linker`.

I'm not sure what to do with test/Linker/2011-08-22-ResolveAlias.ll,
which fails like this:

Alias must point to a definition
i32 (i32*, void ()*)* @_ZL20__gthrw_pthread_oncePiPFvvE
Alias must point to a definition
i8* (i32)* @_ZL27__gthrw_pthread_getspecificj
...

@Rafael, you touched it last :) -- any idea if we have sufficient
coverage for the underlying feature elsewhere?  Or should I update
the test?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WIP-llvm-link-Verify-input-modules.patch
Type: application/octet-stream
Size: 13807 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150324/9a4c76c4/attachment.obj>


More information about the llvm-commits mailing list