Rename temporary symbols if they conflict with artificial symbols created
commit42ea359cbc6b0b469886de4fe930d332e4e639ef
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 1 Dec 2010 20:46:11 +0000 (1 20:46 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 1 Dec 2010 20:46:11 +0000 (1 20:46 +0000)
treefb7b54f0a532e73d3c447128e05fc591263b6adb
parent5d9fc64dadc493562649402818f1121b27c6907d
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]