[patch] Reject alias to declarations in ELF and COFF
Rafael EspĂndola
rafael.espindola at gmail.com
Wed Nov 13 11:50:43 PST 2013
ping.
A rebased patch is attached.
On 31 October 2013 12:58, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
> Since it looks like MachO will be getting support for aliases with
> N_INDR, this patch just rejects aliases to declarations on ELF and
> COFF.
>
> The use of report_fatal_error is probably OK, since it shows a problem
> in the FE producing the alias. Clang for example rejects this
> already.
>
> Another option would be to add target information to the verifier, but
> that looks odd.
>
> Cheers,
> Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 8239 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131113/4ed49fd4/attachment.obj>
More information about the llvm-commits
mailing list