Fixes Issue 9680 - Print main function and location in verbose mode.