diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-14 05:43:07 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-14 05:43:07 +0000 |
commit | c7ac690ba2e4b10d9beb775a5cb859490a859dd1 (patch) | |
tree | ca198a8454d13028a45192d03bd8cf4d96e8746f /llvm/lib/MC/MCNullStreamer.cpp | |
parent | a153ca5885f2bfb4f15dc31b71daf8e3f5491bc2 (diff) | |
download | llvm-c7ac690ba2e4b10d9beb775a5cb859490a859dd1.zip llvm-c7ac690ba2e4b10d9beb775a5cb859490a859dd1.tar.gz llvm-c7ac690ba2e4b10d9beb775a5cb859490a859dd1.tar.bz2 |
Unfortunately several files in MC are badly violating layering rule by using
TargetAsmInfo, which in turn pulls in TargetRegisterInfo, etc. :-( There are
other cases of violations, but this is probably the worst.
This patch is but one small step towards fixing this. 500 more steps to go. :-(
llvm-svn: 135131
Diffstat (limited to 'llvm/lib/MC/MCNullStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCNullStreamer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCNullStreamer.cpp b/llvm/lib/MC/MCNullStreamer.cpp index f38b822..9577af0 100644 --- a/llvm/lib/MC/MCNullStreamer.cpp +++ b/llvm/lib/MC/MCNullStreamer.cpp @@ -44,7 +44,8 @@ namespace { virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol){} virtual void EmitDwarfAdvanceLineAddr(int64_t LineDelta, const MCSymbol *LastLabel, - const MCSymbol *Label) {} + const MCSymbol *Label, + unsigned PointerSize) {} virtual void EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute){} |