Hi,
If we look at the 3 different implementations of VisitVAArgExpr function
in clang source...:
The LLVM va_arg instruction isn't really well-supported generally...
it might work, but probably not, and it's not a well-tested codepath.
Your best option is adding an implementation at the clang level.
-Eli
The LLVM va_arg instruction isn't really well-supported generally...
it might work, but probably not, and it's not a well-tested codepath.
Your best option is adding an implementation at the clang level.-Eli
Why the LLVM va_arg instruction still exist if we can't use it?
It should be marked deprecated and then removed in futures version,
isn't it ?
The LLVM va_arg instruction isn't really well-supported generally...
it might work, but probably not, and it's not a well-tested codepath.
Your best option is adding an implementation at the clang level.-Eli
Why the LLVM va_arg instruction still exist if we can't use it?
It should be marked deprecated and then removed in futures version,
isn't it ?
Not necessarily, there is always the hope that one day the backend
will make it work, at least well enough for applications which don't
care about ABI compatibility.
- Daniel