Debug info: On ARM ensure that all __TEXT sections come before the
authorAdrian Prantl <aprantl@apple.com>
Mon, 20 Jan 2014 19:15:59 +0000 (19:15 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 20 Jan 2014 19:15:59 +0000 (19:15 +0000)
commit16d00e4b64ce2d2560f4f7e46517f3ce1e05bdf1
tree40688cf425f3a30e02d3bfddc7b5ac57ac9aa933
parent6e08a410aa0a375450dfbdd3c1114aafc5fb1fb9
Debug info: On ARM ensure that all __TEXT sections come before the
optional DWARF sections, so compiling with -g does not result in
different code being generated for PC-relative loads.

This is reapplying a diet r197922 (__TEXT-only).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199681 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMAsmPrinter.cpp
test/DebugInfo/ARM/sectionorder.ll [new file with mode: 0644]