[llvm] 9ea34be - [MC]: Fix typo in MCObjectStreamer.cpp (#80856)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 07:54:21 PST 2024


Author: Vinayak Dev
Date: 2024-02-06T16:54:17+01:00
New Revision: 9ea34be3e4c9deeabfc21cced1acb7f9593ffe93

URL: https://github.com/llvm/llvm-project/commit/9ea34be3e4c9deeabfc21cced1acb7f9593ffe93
DIFF: https://github.com/llvm/llvm-project/commit/9ea34be3e4c9deeabfc21cced1acb7f9593ffe93.diff

LOG: [MC]: Fix typo in MCObjectStreamer.cpp (#80856)

Fixes a typo in llvm/lib/MC/MCObjectStreamer.cpp introduced in #80162

Added: 
    

Modified: 
    llvm/lib/MC/MCObjectStreamer.cpp

Removed: 
    


################################################################################
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.
 }


        


More information about the llvm-commits mailing list