Assmebler symbol attribute directives don't work on temporary symbols.
authorJim Grosbach <grosbach@apple.com>
Thu, 15 Sep 2011 17:56:49 +0000 (17:56 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 15 Sep 2011 17:56:49 +0000 (17:56 +0000)
commit10ec65004d8da411ab59a1fee85c0ff54539776a
tree97de8405768b9e2278d97d8561e1c94dae480efd
parent79c40a011b15f59e5b128c870c04893c3f1eddf9
Assmebler symbol attribute directives don't work on temporary symbols.

Assembler private local symbols aren't legal targets of symbol attributes,
so issue a diagnostic for them.

Based on patch by Stepan Dyatkovskiy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139807 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp