Fix aliases to thumbfunc-based exprs to be thumbfunc.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 19 Jan 2017 20:04:11 +0000 (20:04 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Thu, 19 Jan 2017 20:04:11 +0000 (20:04 +0000)
commitf2d9a46b5ff059f002602c7d6199bda1993435dd
treeebf0206cc76bcd039651904c3a53f5dc172f2969
parent2c87688c70c211cb3b1f1331d69879e272a733f7
Fix aliases to thumbfunc-based exprs to be thumbfunc.

If F is a Thumb function symbol, and G = F + const, and G is a
function symbol, then G is Thumb. Because what else could it be?

Differential Revision: https://reviews.llvm.org/D28878

llvm-svn: 292514
llvm/lib/MC/MCAssembler.cpp
llvm/test/MC/ARM/elf-thumbfunc.s