diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp index 8948f3f164575..490e0a4dd4041 100644 --- a/llvm/lib/MC/MCObjectStreamer.cpp +++ b/llvm/lib/MC/MCObjectStreamer.cpp @@ -902,7 +902,7 @@ void MCObjectStreamer::emitFileDirective(StringRef Filename, StringRef TimeStamp, StringRef Description) { getAssembler().addFileName(Filename); - getAssembler().setCompilerVersion(CompilerVerion.str()); + getAssembler().setCompilerVersion(CompilerVersion.str()); // TODO: add TimeStamp and Description to .file symbol table entry // with the integrated assembler. }