If I define a function but don't call it, function will not presented in executable. But there are situation when we need to tell linker not to exclude a function. For example I have defined functions that should be called by totalview
debugger in debug time.
If I call that function from somewhere (from main function for example) the problem will be solved, it will not excluded, but is there a general rule to tell linker not to exclude a function?