diff --git a/tools/versioner/src/DeclarationDatabase.cpp b/tools/versioner/src/DeclarationDatabase.cpp index aef4f550f..33bccf372 100644 --- a/tools/versioner/src/DeclarationDatabase.cpp +++ b/tools/versioner/src/DeclarationDatabase.cpp @@ -54,6 +54,11 @@ class Visitor : public RecursiveASTVisitor { } } + // maps fool onto foo on 32-bit, since long double is the same as double. + if (auto asm_attr = decl->getAttr()) { + return asm_attr->getLabel(); + } + // The decl might not have a name (e.g. bitfields). if (auto identifier = decl->getIdentifier()) { if (mangler->shouldMangleDeclName(decl)) {