http://llvm.org/bugs/show_bug.cgi?id=8956
Summary: asm labels are ignored for static local variables
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
$ cat t.c
int f() {
static int x asm("qq");
return x;
}
$ clang -c t.c
$ nm t.o
0000000000000000 T f
0000000000000000 b f.x
$ gcc -c t.c
$ nm t.o
0000000000000000 T f
0000000000000000 b qq
No symbol called qq has been created by clang.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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