[llvm] [MC]: Fix typo in MCObjectStreamer.cpp (PR #80856)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 6 07:51:06 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mc
Author: Vinayak Dev (vinayakdsci)
<details>
<summary>Changes</summary>
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
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.
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/80856
More information about the llvm-commits
mailing list