search for: nakedtest

Displaying 1 result from an estimated 1 matches for "nakedtest".

2012 Nov 10
0
[LLVMdev] LLVM IR and Naked functions in C/C++
...This happens on all architectures I've tested (x86, x64, ARM) and is evident in the LLVM IR itself. With the svn builds of clang, there's an additional problem where undefined results are being introduced First to show what I'm discussing: test.cpp: __attribute((noinline, naked)) int NakedTest(int value, int value2) { asm(""); } Example using svn r167616 of clang/llvm: clang -S test.cpp .section __TEXT,__text,regular,pure_instructions .globl __Z9NakedTestii .align 4, 0x90 __Z9NakedTestii: ## @_Z9NakedTestii .cfi_startproc ## BB#0:...