http://llvm.org/bugs/show_bug.cgi?id=20883
Bug ID: 20883
Summary: error: non-ASM statement in naked function is not
supported with clang-cl and an empty statement
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
$ cat test.cpp
__declspec(naked) void f() {
__asm{};
}
$ ./bin/clang-cl -c test.cpp
test.cpp(2,10) : error: non-ASM statement in naked function is not supported
__asm{};
^
test.cpp(1,12) : note: attribute is here
__declspec(naked) void f() {
^
1 error generated.
This is a regression.
--
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