[cfe-dev] Running code on module load
Chris Lattner
clattner at apple.com
Fri Mar 14 10:19:14 PDT 2008
On Mar 3, 2008, at 3:47 PM, David Chisnall wrote:
>> The front-end is required to make an array of type ["n" x { i32, void
>> ()* }], so the bug is in the front-end.
>
> Here's a patch which is trying to do that in the code generation.
> Let me know if I've done anything completely silly, otherwise I'll
> start using this for registering things that call the Objective-C
> runtime functions (not tested - it's almost midnight here, and I
> need to sleep before writing more code).
Sorry for the delay David, your patch looks great, I've applied it here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080310/004690.html
Thanks!
-Chris
More information about the cfe-dev
mailing list