how to add constructor and destructor as symbol

hi,
how to call AddSymbol to add constructor and destructor to llvm?
The purpose is to be able to build ir to manually call the constructor and destructor.

thanks.