Skip to content

Conversation

vinayakdsci
Copy link
Contributor

Fixes a typo in llvm/lib/MC/MCObjectStreamer.cpp.

@llvmbot llvmbot added the llvm:mc Machine (object) code label Feb 6, 2024
@llvmbot
Copy link
Member

llvmbot commented Feb 6, 2024

@llvm/pr-subscribers-mc

Author: Vinayak Dev (vinayakdsci)

Changes

Fixes a typo in llvm/lib/MC/MCObjectStreamer.cpp.


Full diff: https://github.com/llvm/llvm-project/pull/80856.diff

1 Files Affected:

  • (modified) llvm/lib/MC/MCObjectStreamer.cpp (+1-1)
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.
 }

Copy link
Contributor

@jplehr jplehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vinayakdsci
Copy link
Contributor Author

Thanks! Could you land this for me?

@jplehr jplehr merged commit 9ea34be into llvm:main Feb 6, 2024
@vinayakdsci vinayakdsci deleted the fix-verion branch February 6, 2024 15:55
@jplehr jplehr mentioned this pull request Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
llvm:mc Machine (object) code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants