Reorder the sections being output to reduce the number of assembler
authorEric Christopher <echristo@apple.com>
Thu, 1 Mar 2012 22:50:31 +0000 (22:50 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 1 Mar 2012 22:50:31 +0000 (22:50 +0000)
commit12313a56ec1f17cb7636773b1a6448917835f838
treec71dc2ea010d737d04d9541264a2044318dc2c49
parente751c0069aee16e85156d6539f4b724f71c341c6
Reorder the sections being output to reduce the number of assembler
fixups that are being used to determine section offsets. Reduces
the total number of fixups by 50% for a non-trivial testcase.

Part of rdar://10413936

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151852 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
test/DebugInfo/X86/stringpool.ll