http://llvm.org/bugs/show_bug.cgi?id=10116
Summary: [mc] No support for .common
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Driver
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
thakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$ cat test.cc
void f() {
asm volatile(".common _f,8,8");
}
thakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$ gcc -c test.cc
thakis@yearofthelinuxdesktop:/usr/local/google/chrome/src$
third_party/llvm-build/Release+Asserts/bin/clang -c test.cc
test.cc:2:16: error: warning: ignoring directive for now
asm volatile(".common _f,8,8");
^
<inline asm>:1:2: note: instantiated into assembly here
.common _f,8,8
^
1 error generated.
This is a bogus example. Real code that uses this is e.g. here:
http://google.com/codesearch#OAMlx_jo-ck/src/seccompsandbox/linux_syscall_support.h&q=linux_syscall_support.h&l=1435
(used by chrome/linux).
--
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