[ARM] Use DWARF register numbers for CFI directives in ELF assembly
authorHans Wennborg <hans@hanshq.net>
Wed, 12 Mar 2014 03:52:34 +0000 (03:52 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 12 Mar 2014 03:52:34 +0000 (03:52 +0000)
commite03daa01f6f0c17f4b278183f2116d00d35e2b45
tree8c62b1bcb4a376c891431474fd79679f5ef2dcad
parent9d3e746b85b73cdd557872d9e47aff02d43b56ad
[ARM] Use DWARF register numbers for CFI directives in ELF assembly

It seems gas can't handle CFI directives with VFP register names ("d12", etc.).
This broke us trying to build Chromium for Android after 201423.

A gas bug has been filed: https://sourceware.org/bugzilla/show_bug.cgi?id=16694

compnerd suggested making this conditional on whether we're using the integrated
assembler or not. I'll look into that in a follow-up patch.

Differential Revision: http://llvm-reviews.chandlerc.com/D3049

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp
test/CodeGen/ARM/debug-frame-large-stack.ll
test/CodeGen/ARM/debug-frame-vararg.ll
test/CodeGen/ARM/debug-frame.ll