Resubmit D85085 after fixing the tests that were failing.
D85085 was pushed earlier but broke tests on mac and win:
Recommitting it after adding mtriple to the llc commands.
Emit correct location lists with basic block sections.
This patch addresses multiple things:
- It ensures that const_value is emitted when possible with basic block sections.
- It emits location lists such that the labels are always within the section boundary.
- It fixes a bug when the parameter is first used in a non-entry block which is in a different section from the entry block.
Differential Revision: https://reviews.llvm.org/D85085