[cfe-dev] [PATCH] adding flag for generating va_arg instructions
lazar6 at illinois.edu
Tue Apr 17 19:16:35 PDT 2012
This patch is a minor change which adds a flag to generate LLVM's
va_arg instruction instead of target-specific instructions for
handling variadic arguments. The flag is called -fuse-llvm-variadics,
but feel free to pick a better name :-). By default, this flag is
disabled, which preserves the existing behavior.
This functionality is useful for Clang users who want to do program
analysis in LLVM in a platform-independent way. Currently, there is no
way to disable the platform-specific instructions. We needed this
functionality for our research and we are aware of other groups who
want this as well.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4193 bytes
Desc: not available
More information about the cfe-dev