MC: Tweak variable assignment diagnostics, and make reassignment of non-absolute

variables and symbols invalid.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84232 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-10-16 01:57:39 +00:00
parent fffff915d5
commit 75773ff00d
3 changed files with 36 additions and 7 deletions

View File

@@ -125,6 +125,7 @@ void MCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
OS << '\n';
// FIXME: Lift context changes into super class.
// FIXME: Set associated section.
Symbol->setValue(Value);
}