maybe_start_llvm_timer
spawn_work
The two functions are alway called together. This commit factors out the repeated code.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.