[LLVMdev] Does LLVM have some interface to determine whether a parameter type may be passed in registers?
zhangxiongpang
zhangxiongpang at gmail.com
Sun Jun 8 13:37:36 PDT 2014
Hi, all!
I want to implement C language variable argument support with LLVM-3.3 on x86_64.
But it seems LLVM does not support va_arg with long double type and aggregate type
on x86_64. So I need to seek another way.
I saw the "Coding Examples" in AMD64-ABI manual, in which the algorithm for the
generic va_arg implementation needs to determine whether a parameter type may be
passed in registers. I want to know whether LLVM has already implemented some
interfaces to check it? Or I need to write one by myself? It's a pity that I'm not very
familiar with it. Can anyone give me some suggestions?
Thanks in advance!
Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140609/23849a6f/attachment.html>
More information about the llvm-dev
mailing list