aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2009-07-20 20:25:37 +0000
committerKevin Enderby <enderby@apple.com>2009-07-20 20:25:37 +0000
commit5026ae4514caf5bb88d6c09fbf56a9db2753ed43 (patch)
treea610cc7a46320195b936b5584f68a38ede2c2190 /lib
parentdbd692a66e6a5f60ec3ff120ed27ae3a918c375f (diff)
Removed the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API as
the parsing of the .dump and .load should be done in the assembly parser and not have any need for an MCStreamer API. Changed the code for now so these just produce an error saying these specific directives are not yet implemented since they are likely no longer used and may never need to be implemented. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76462 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/MC/MCAsmStreamer.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp
index e1812cee59..a4a1525bee 100644
--- a/lib/MC/MCAsmStreamer.cpp
+++ b/lib/MC/MCAsmStreamer.cpp
@@ -57,10 +57,6 @@ namespace {
virtual void AbortAssembly(const char *AbortReason = NULL);
- virtual void DumpSymbolsandMacros(const char *FileName);
-
- virtual void LoadSymbolsandMacros(const char *FileName);
-
virtual void EmitBytes(const char *Data, unsigned Length);
virtual void EmitValue(const MCValue &Value, unsigned Size);
@@ -144,14 +140,6 @@ void MCAsmStreamer::AbortAssembly(const char *AbortReason) {
}
-void MCAsmStreamer::DumpSymbolsandMacros(const char *FileName) {
- OS << ".dump" << ' ' << FileName << '\n';
-}
-
-void MCAsmStreamer::LoadSymbolsandMacros(const char *FileName) {
- OS << ".load" << ' ' << FileName << '\n';
-}
-
void MCAsmStreamer::EmitAssignment(MCSymbol *Symbol, const MCValue &Value,
bool MakeAbsolute) {
assert(!Symbol->getSection() && "Cannot assign to a label!");