[LLVMdev] function getting typed as variable argument functions

Ryan M. Lefever lefever at crhc.illinois.edu
Thu Mar 12 15:19:55 PDT 2009


I have some code I am compiling with LLVM, and some functions in the 
code are begin declared as variable argument functions with no named 
arguments when the functions have known types.  For example, the 
following C code

uint64_t getStartTime();

is getting compiled to

declare i64 @getStartTime(...)

in bitcode.  Why would this happen?

Regards,
Ryan



More information about the llvm-dev mailing list