Re:UndefinedBehaviorSanitizer's Unexpected Behavior
by ctz on Thursday October 17, 2024 @06:58AM
(#41868366)
I believe AIX C++ name mangling includes function argument type information (with CV qualifiers!) so this is a real-world case where this does actually break. I suspect curl does not compile with the C++ compiler though.
[ Parent
| on HN ]
Re:UndefinedBehaviorSanitizer's Unexpected Behavior
by umanwizard on Thursday October 17, 2024 @07:10AM
(#41868436)
So does the Itanium ABI (which is what most people would think of as the normal/standard/usual C++ ABI):
$ c++filt
_Z1fPFvPcE
f(void (*)(char*))
But I'm struggling to understand how this would cause things to break.