[all-commits] [llvm/llvm-project] 28fb69: [AIX] Emit version string in .file directive

jsji via All-commits all-commits at lists.llvm.org
Mon Jul 12 10:04:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28fb69e00a4d3f3e59ccd63cf5c56c4af66a475c
      https://github.com/llvm/llvm-project/commit/28fb69e00a4d3f3e59ccd63cf5c56c4af66a475c
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmInfo.h
    M llvm/include/llvm/MC/MCObjectStreamer.h
    M llvm/include/llvm/MC/MCStreamer.h
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/lib/MC/MCAsmInfoXCOFF.cpp
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCObjectStreamer.cpp
    M llvm/lib/MC/MCStreamer.cpp
    M llvm/test/CodeGen/PowerPC/aix-filename-absolute-path.ll
    M llvm/test/CodeGen/PowerPC/aix-filename-relative-path.ll
    M llvm/test/CodeGen/PowerPC/aix-filename-special-character-double-quotation.ll
    M llvm/test/CodeGen/PowerPC/aix-filename-special-character-single-quotation.ll

  Log Message:
  -----------
  [AIX] Emit version string in .file directive

AIX .file directive support including compiler version string.
https://www.ibm.com/docs/en/aix/7.2?topic=ops-file-pseudo-op

This patch adds the support so that it will be easier to identify build
compiler in objects.

Reviewed By: #powerpc, shchenz

Differential Revision: https://reviews.llvm.org/D105743




More information about the All-commits mailing list