[MachineOutliner][NFC] Move debug info emission to createOutlinedFunction

When you create an outlined function, you know everything you need to know
to decide if debug info should be created. If we emit debug info in
createOutlinedFunction, then we don't need to keep track of every IR function
we create.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342677 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed