[cfe-commits] [PATCH] Emit the 'alignstack' attribute for 'force_align_arg_pointer' functions
Anton Korobeynikov
anton at korobeynikov.info
Fri Feb 12 00:31:07 PST 2010
Hello, Charles
> This is a very simple patch, but I want feedback on it before I put it in.
You're emitting a target-specific attribute inside generic codegen code.
There is a special helper class, TargetCodeGenInfo, which is expected
to emit "simple" attribute-like goodness (function attributes, calling
conventions, etc).
Look into MSP430TargetCodeGenInfo inside CodeGen/TargetInfo.cpp
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the cfe-commits
mailing list