dibyendumajumdar / dmr_c

dmr_C is a C parser and JIT compiler with LLVM, Eclipse OMR and NanoJIT backends
Other
52 stars 2 forks source link

Variable argument handling is incorrect #14

Open dibyendumajumdar opened 7 years ago

dibyendumajumdar commented 7 years ago

Variable argument handling requires special LLVM instructions to be generated as described in:

http://llvm.org/docs/LangRef.html#int-varargs

However, sparse doesn't output special instructions for va_arg - instead it relies on macros that do not really work.