Closed Quuxplusone closed 13 years ago
Please attach a small testcase.
--- tmp.c ---
int MyFunc(int a)
{
return a;
}
---
llvm-gcc -mrtd -emit-llvm -S tmp.c -o tmp.ll
--- tmp.ll ---
define i32 @MyFunc(i32 %a) nounwind {
---
stdcall attribute is missing
LLVM-GCC has reached its end of life as far as llvm.org releases go. Please migrate to Clang or DragonEgg when possible. The llvm-gcc SVN repo will still continue to exist, so additional patches can go into it if you so desire, but since we have no more releases of it coming, it doesn't make sense to track bugs for it anymore.
If this is a problem that still exists with clang or DragonEgg, please file a new bug to track it. Thanks!
-Chris
on windows with this option gcc treats functions as stdcall, but doesn't generate stdcall attributes in IR.