[LLVMdev] individual
Charlie Burns
crb at sonic.net
Wed Feb 29 13:21:21 PST 2012
Hello,
I'm implementing a compiler for ( yet another ) C like language. I am
writing llvm assembly from the compiler.
I would like to put a function into each .s file that somehow gets called
before main(). Perhaps named "init" or something like that, no arguments,
no return value.
Can anyone point me to any documentation or ideas about how I might begin
to go about this?
Thanks.
Charlie
More information about the llvm-dev
mailing list