This reverts commit 256a52d9aac8a9e98fbfd6a3d91090bf127cef7d (and also the follow-up commit 38eb4fe74b3843ab0d7fc1e that moved a test case to a different directory). As discussed in https://reviews.llvm.org/D126257 there is a suspicion that something was wrong with this commit as text section range was shortened to 1 byte rather than rounded up as shown in the llvm/test/DebugInfo/X86/dwarf-aranges.ll test case.