This reverts the functional change of https://reviews.llvm.org/D35385 because
it sounds like this is no longer necessary
(https://bugs.llvm.org/show_bug.cgi?id=51135#c11) and makes clang's behavior
more uniform across platforms.
After committing this, I noticed that this is needed for correctness for profiling
builds with lld: https://bugs.llvm.org/show_bug.cgi?id=51135#c14