ARM: allow .thumb_func to be separated from symbol definition
authorTim Northover <tnorthover@apple.com>
Fri, 25 Oct 2013 12:49:50 +0000 (12:49 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 25 Oct 2013 12:49:50 +0000 (12:49 +0000)
commitc8f4e5db29270fc7ed164af973ece7ba5921539b
tree65bf380bd5322d7836168c7ec3e125410bc939e6
parentee21bb4e87a35f1dbccc02cc408fd9dd9ecc1855
ARM: allow .thumb_func to be separated from symbol definition

When assembling, a .thumb_func directive is supposed to be applicable to the
next symbol definition, even if there are intervening directives. We were
racing ahead to try and find it, and this commit should fix the issue.

Patch by Gabor Ballabas

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193403 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCTargetAsmParser.h
lib/MC/MCParser/AsmParser.cpp
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/elf-thumbfunc.s