Re: sparse-llvm variadic functions are not being marked as variadic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 14, 2017 at 11:30:49AM +0000, Dibyendu Majumdar wrote:
> 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);

Applied in the llvm-fixes-v3 serie I submitted yesterday.

-- Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux