[PATCH] D105743: [AIX] Emit version string in .file directive

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 9 15:06:55 PDT 2021


jsji created this revision.
jsji added reviewers: PowerPC, shchenz, Whitney.
Herald added subscribers: hiraditya, nemanjai.
jsji requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105743

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105743.357650.patch
Type: text/x-patch
Size: 8914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210709/300e15ce/attachment.bin>


More information about the llvm-commits mailing list