[PATCH] D155684: [XCOFF] Write source language ID and CPU version ID into C_FILE symbol.

Esme Yi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 02:00:18 PDT 2023


Esme created this revision.
Esme added reviewers: shchenz, hubert.reinterpretcast, DiggerLin, jhenderson, PowerPC.
Herald added subscribers: hiraditya, nemanjai.
Herald added a project: All.
Esme requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The source language ID and CPU version ID are required by debuggers.
AIX's system assembler determines the source language ID based on the source file's name suffix, and the behavior in this patch is consistent with it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155684

Files:
  llvm/lib/MC/XCOFFObjectWriter.cpp
  llvm/test/CodeGen/PowerPC/aix-extern-weak.ll
  llvm/test/CodeGen/PowerPC/aix-extern.ll
  llvm/test/CodeGen/PowerPC/aix-filename-c.ll
  llvm/test/CodeGen/PowerPC/aix-filename-cpp.ll
  llvm/test/CodeGen/PowerPC/aix-func-dsc-gen.ll
  llvm/test/CodeGen/PowerPC/aix-llvm-intrinsic.ll
  llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll
  llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc.ll
  llvm/test/CodeGen/PowerPC/aix-tls-xcoff-variables.ll
  llvm/test/CodeGen/PowerPC/aix-weak.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
  llvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155684.541896.patch
Type: text/x-patch
Size: 9851 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230719/ba0ccd68/attachment.bin>


More information about the llvm-commits mailing list