Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Conversation

vinayakdsci
Copy link
Contributor

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

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

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
5 of 6 checks passed
@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
mc Machine (object) code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants