[all-commits] [llvm/llvm-project] 776195: [XCOFF] Write source language ID and CPU version I...

Esme via All-commits all-commits at lists.llvm.org
Sun Jul 23 21:35:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 776195865d4f2bdab47ac8948fc9281336e88349
      https://github.com/llvm/llvm-project/commit/776195865d4f2bdab47ac8948fc9281336e88349
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/XCOFF.h
    M llvm/lib/MC/XCOFFObjectWriter.cpp
    M llvm/test/CodeGen/PowerPC/aix-extern-weak.ll
    M llvm/test/CodeGen/PowerPC/aix-extern.ll
    A llvm/test/CodeGen/PowerPC/aix-filename-c.ll
    A llvm/test/CodeGen/PowerPC/aix-filename-cpp.ll
    A llvm/test/CodeGen/PowerPC/aix-filename-f.ll
    M llvm/test/CodeGen/PowerPC/aix-func-dsc-gen.ll
    M llvm/test/CodeGen/PowerPC/aix-llvm-intrinsic.ll
    M llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc-large.ll
    M llvm/test/CodeGen/PowerPC/aix-tls-xcoff-reloc.ll
    M llvm/test/CodeGen/PowerPC/aix-tls-xcoff-variables.ll
    M llvm/test/CodeGen/PowerPC/aix-weak.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-reloc.ll
    M llvm/tools/llvm-readobj/XCOFFDumper.cpp

  Log Message:
  -----------
  [XCOFF] Write source language ID and CPU version ID into C_FILE symbol.

Summary: The source language ID and CPU version ID are required by debuggers on AIX. 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.

Reviewed By: shchenz

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




More information about the All-commits mailing list