[cfe-dev] preserving type signatures

Naoya Maruyama naoya.maruyama at gmail.com
Wed Mar 24 00:34:42 PDT 2010


Hi there,

I'm currently using Clang/LLVM for static analysis of C programs, and
I want to get the exactly same type signatures as in the original
source programs. However, for example, with Clang, if a function
returns struct {float, float}, then the compiled function in the llvm
bitcode returns a double that aggregates the two floats. I wonder
there are any ways to prevent Clang to do this type transformation.
Thanks for any help.

Naoya



More information about the cfe-dev mailing list