http://llvm.org/bugs/show_bug.cgi?id=16994
Bug ID: 16994
Summary: [-cxx-abi microsoft] Mangle anonymous types correctly
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Consider:
inline int foo() {
static struct {
int a;
} x = {20};
return x.a;
}
void bar() {
foo();
}
we mangle x as:
?x@?1??foo@@YAHXZ@4U<unnamed-tag>?1??1@YAHXZ@A
we should mangle x as:
?x@?1??foo@@YAHXZ@4U<unnamed-type-x>@?1??1@YAHXZ@A
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs