This patch enables LLVM to generate a DWARF .debug_aranges section.
Previously LLVM would simply not generate any data for this (or would rely on a tool like dsymutil to do it instead). This patch allows debuggers to use this data to accelerate file loading.
I really have no idea what I'm doing with regards to LLVM's internals, so someone more knowledgeable should definitely review this.
Needs a comment to say what this is used for.