Arm: Don't define a label twice with two setjmps in a function.
authorMatthias Braun <matze@braunis.de>
Thu, 16 Jul 2015 22:34:20 +0000 (22:34 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 16 Jul 2015 22:34:20 +0000 (22:34 +0000)
commit650d9427f075becaa35a675af8169f60eeb8e756
treea0a1cc7bef3b4d865d115be144d956d81e0e0274
parent9e4654db1accb25f8f07c6382216ad605d4978a4
Arm: Don't define a label twice with two setjmps in a function.

Constructing a name based on the function name didn't give us a unique
symbol if we had more than one setjmp in a function. Using
MCContext::createTempSymbol() always gives us a unique name.

Differential Revision: http://reviews.llvm.org/D9314

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