[cfe-dev] code generation for passing arguments

shreyas krishnan shreyas76 at gmail.com
Tue Jun 29 22:29:05 PDT 2010


Hi
  I find that in some case clang when passing pointer arguments first
stores the arguments to stack location and subsequently accesses these
stack locations.
I only see this happening when there are other global pointers in the
code. Can some one pls let me know whats the rationale behind this?
Also,  can some one point me to clang code where this is done?


thanks
shrey



More information about the cfe-dev mailing list