aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCLoggingStreamer.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-04-18 20:26:49 +0000
committerDevang Patel <dpatel@apple.com>2011-04-18 20:26:49 +0000
commit3f3bf9387b75f4c932e4c59bd7af719d26ae4b99 (patch)
tree5f2fa00ae8c15e7ab311c29fe1a3bfd213ba190a /lib/MC/MCLoggingStreamer.cpp
parent5d5ef4a886290565570703747264cd47800765fc (diff)
Reduce clutter in asm output. Do not emit source location as comment for each instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCLoggingStreamer.cpp')
-rw-r--r--lib/MC/MCLoggingStreamer.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/MC/MCLoggingStreamer.cpp b/lib/MC/MCLoggingStreamer.cpp
index 012c7f62f8..82ba721a2a 100644
--- a/lib/MC/MCLoggingStreamer.cpp
+++ b/lib/MC/MCLoggingStreamer.cpp
@@ -215,13 +215,14 @@ public:
virtual void EmitDwarfLocDirective(unsigned FileNo, unsigned Line,
unsigned Column, unsigned Flags,
- unsigned Isa, unsigned Discriminator) {
+ unsigned Isa, unsigned Discriminator,
+ StringRef FileName) {
LogCall("EmitDwarfLocDirective",
"FileNo:" + Twine(FileNo) + " Line:" + Twine(Line) +
" Column:" + Twine(Column) + " Flags:" + Twine(Flags) +
" Isa:" + Twine(Isa) + " Discriminator:" + Twine(Discriminator));
return Child->EmitDwarfLocDirective(FileNo, Line, Column, Flags,
- Isa, Discriminator);
+ Isa, Discriminator, FileName);
}
virtual void EmitInstruction(const MCInst &Inst) {