[llvm] [XCOFF] Add compiler version to an auxiliary symbol table entry (PR #80162)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 5 09:06:51 PST 2024


================
@@ -902,7 +902,10 @@ void MCObjectStreamer::emitFileDirective(StringRef Filename,
                                          StringRef TimeStamp,
                                          StringRef Description) {
   getAssembler().addFileName(Filename);
-  // TODO: add additional info to integrated assembler.
+  if (!CompilerVerion.empty())
+    getAssembler().setCompilerVersion(CompilerVerion.data());
----------------
stephenpeckham wrote:

Typo fixed in https://github.com/llvm/llvm-project/pull/80703 

https://github.com/llvm/llvm-project/pull/80162


More information about the llvm-commits mailing list