commit | 3ad28ac1d0feb96b2cbf68fd95a9ebc2f668c7fd | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Mon May 05 21:41:04 2014 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Mon May 05 21:41:04 2014 +0000 |
tree | 6b9af58d69b20d7c5d6fae63b81219b3c0b90a5d | |
parent | 2b509aedda0b950598af9798b43b066b338f0381 [diff] |
Fix c/InternFunctionWeakref.c. The test was failing 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. llvm-svn: 208003