Mangle based on the declaration we're given, not the canonical
declaration, since attributes that affect mangling may have been added to subsequent declarations. However, to determine the linkage of the declaration, we need to look at the canonical declaration. Fixes PR4412. llvm-svn: 85400
Loading
Please register or sign in to comment