diff options
Diffstat (limited to 'lib/Target/PTX/PTXMCAsmStreamer.cpp')
-rw-r--r-- | lib/Target/PTX/PTXMCAsmStreamer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/PTX/PTXMCAsmStreamer.cpp b/lib/Target/PTX/PTXMCAsmStreamer.cpp index f6a731c..6b6c0e1 100644 --- a/lib/Target/PTX/PTXMCAsmStreamer.cpp +++ b/lib/Target/PTX/PTXMCAsmStreamer.cpp @@ -337,11 +337,13 @@ void PTXMCAsmStreamer::EmitFileDirective(StringRef Filename) { EmitEOL(); } -void PTXMCAsmStreamer::EmitDwarfFileDirective(unsigned FileNo, +// FIXME: should we inherit from MCAsmStreamer? +bool PTXMCAsmStreamer::EmitDwarfFileDirective(unsigned FileNo, StringRef Filename){ OS << "\t.file\t" << FileNo << ' '; PrintQuotedString(Filename, OS); EmitEOL(); + return this->MCStreamer::EmitDwarfFileDirective(FileNo, Filename); } void PTXMCAsmStreamer::AddEncodingComment(const MCInst &Inst) {} |