This commit modifies the SimpleDCE pass to emit errors similar to those emitted by gc when the main function is missing.