[patch][dragonegg] Fix c/InternFunctionWeakref.c

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Apr 25 07:28:50 PDT 2014


The test is failing currently when building with gcc 4.8. It looks
like weakrefs are reachable via emit_cgrah_aliases and
emit_cgraph_weakref. This causes us to try to use rauw twice, causing
an assert when we get a this->rauw(this).

The patch simply skips weakrefs in emit_cgrah_aliases.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140425/fde7984c/attachment.obj>


More information about the llvm-commits mailing list