normalize complex float names across compilers
When clang emits dwarf, it calls all different sized complex values 'complex' regardless of whether we called it a complex float, complex double, or complex long double. These are still distinguishable because of the actual byte size of the emitted data. Just as we normalize the integer type names, we should normalize the complex type names to match what we're seeing with GCC so that everything is more consistent and it's a little clearer to the user what the size and type of complex that they're encountering is.
Updated by Robert Mustacchi about 1 year ago
I tested this by seeing that clang (with other changes present) passed the CTF test suite and by using ctfwsdiff to verify that nothing changed in the ctf (aside from in libctf) between builds without this change and those with the other CTF changes.
Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
commit 2e25d8e1fe9b3743d7dec073fd05a9f95fbca2a7 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2020-02-17T10:31:15.000Z 12225 normalize complex float names across compilers Reviewed by: John Levon <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>