https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81081
--- Comment #14 from Denis Khalikov <dennis.khalikov at gmail dot com> --- IMHO, this is a really hard to face in real word. You, probably, have to write your program on assembly and then let "as" to add section with debuginfo, because "as" can not generate dwarf tag (DW_TAG_subprogram) which cares about address and name of the function, you will get the poblem. As far as I remember, the problem was faced in some "fault injection" project, because the wrappers around libbactrace functions, were copy-pasted from sanitizers, and does not really related to sanitizers in any cases.