summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-10-16 01:58:23 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-10-16 01:58:23 +0000
commit5d9134747b012b706bab56f6e2c7cf53e7c0622a (patch)
tree3f16a0fbe3ec451495d5aefe9cd900980af7aca6 /llvm/lib
parente024def785d136c025a3a439e01be74e7b1359e0 (diff)
downloadbcm5719-llvm-5d9134747b012b706bab56f6e2c7cf53e7c0622a.tar.gz
bcm5719-llvm-5d9134747b012b706bab56f6e2c7cf53e7c0622a.zip
MC: Set symbol values in MachO MCStreamer.
llvm-svn: 84236
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/MC/MCMachOStreamer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp
index 9f8841ecb97..189f07201fd 100644
--- a/llvm/lib/MC/MCMachOStreamer.cpp
+++ b/llvm/lib/MC/MCMachOStreamer.cpp
@@ -198,7 +198,9 @@ void MCMachOStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
assert((Symbol->isUndefined() || Symbol->isAbsolute()) &&
"Cannot define a symbol twice!");
- llvm_unreachable("FIXME: Not yet implemented!");
+ // FIXME: Lift context changes into super class.
+ // FIXME: Set associated section.
+ Symbol->setValue(Value);
}
void MCMachOStreamer::EmitSymbolAttribute(MCSymbol *Symbol,
OpenPOWER on IntegriCloud