Rename temporary symbols if they conflict with artificial symbols created
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 1 Dec 2010 20:46:11 +0000 (20:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 1 Dec 2010 20:46:11 +0000 (20:46 +0000)
commit9f44724be058d17944dcd9ef6a6b57734b3744b8
treefb7b54f0a532e73d3c447128e05fc591263b6adb
parent871498e2cede09420fe70fb8aea99725a8422e94
Rename temporary symbols if they conflict with artificial symbols created
by the assembler. This was blocking parsing any large .s produced by clang for
example.

Fixes PR8596.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120603 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCContext.h
lib/MC/MCContext.cpp
test/MC/AsmParser/rename.s [new file with mode: 0644]