This is an archive of the discontinued LLVM Phabricator instance.

Experimental bugfix for Itanium name mangling segfault
AbandonedPublic

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

Details

Reviewers
rsmith
Summary

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

https://bugs.llvm.org/show_bug.cgi?id=34484

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?

jbcoe abandoned this revision.Dec 31 2019, 6:26 AM