Page MenuHomePhabricator

Experimental bugfix for Itanium name mangling segfault
Needs ReviewPublic

Authored by jbcoe on Sep 8 2017, 12:43 PM.



The attached patch contains a (preliminary) fix and reproduction for the bug reported here:

The Itanium name mangling logic does not seem to handle void(*f)(void*) function pointers as struct members when compiling C++ code. The same code works fine for C.

This patch is not fit to merge as-is but may be a useful starting point for fuller investigation

Diff Detail

Event Timeline

jbcoe created this revision.Sep 8 2017, 12:43 PM
jbcoe edited the summary of this revision. (Show Details)Sep 9 2017, 1:01 AM
jbcoe edited the summary of this revision. (Show Details)

Is there anything I can do to make this patch more useful?

I could add a non-python reproduction of the issue maybe?