* sparse-llvm variadic functions are not being marked as variadic
@ 2017-03-14 11:30 Dibyendu Majumdar
2017-03-19 15:29 ` Luc Van Oostenryck
0 siblings, 1 reply; 2+ messages in thread
From: Dibyendu Majumdar @ 2017-03-14 11:30 UTC (permalink / raw)
To: Linux-Sparse
Hi,
It appears that when a function is compiled, its variadic flag is not
being set in LLVM so LLVM complains when at call sites variable
arguments are passed.
The fix requires a change in output_fn() in sparse-llvm.c:
function.type = LLVMFunctionType(return_type, arg_types, nr_args,
base_type->variadic);
Thanks and Regards
Dibyendu
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-19 15:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-14 11:30 sparse-llvm variadic functions are not being marked as variadic Dibyendu Majumdar
2017-03-19 15:29 ` Luc Van Oostenryck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).