OSDN Git Service

llvm-mc: When handling a .set, make sure to print subsequent references to the
authorDaniel Dunbar <daniel@zuster.org>
Fri, 14 Aug 2009 19:10:46 +0000 (19:10 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 14 Aug 2009 19:10:46 +0000 (19:10 +0000)
commitb2d0b6b8c70dadd4c7628d814c5caf7088defad3
tree1ec5c2d0e22e5287fc1233275bb406d0c6a7045d
parent9b9014f2a088356e4ba814d7f0fd422af721f32d
llvm-mc: When handling a .set, make sure to print subsequent references to the
symbol as the symbol name itself, not the expression it was defined to. These
have different semantics due to the quirky .set behavior (which absolutizes an
expression that would otherwise be treated as a relocation).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79025 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCAsmStreamer.cpp
test/MC/AsmParser/labels.s