[all-commits] [llvm/llvm-project] 1d1fed: [XCOFF] Ensure .file is emitted before any .info p...

stephenpeckham via All-commits all-commits at lists.llvm.org
Thu Nov 9 14:04:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d1fede493ad6a0e2f9a7b6677f7b77f7e3a00bb
      https://github.com/llvm/llvm-project/commit/1d1fede493ad6a0e2f9a7b6677f7b77f7e3a00bb
  Author: stephenpeckham <118857872+stephenpeckham at users.noreply.github.com>
  Date:   2023-11-09 (Thu, 09 Nov 2023)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
    M llvm/test/DebugInfo/XCOFF/empty.ll
    M llvm/test/DebugInfo/XCOFF/explicit-section.ll
    M llvm/test/DebugInfo/XCOFF/function-sections.ll

  Log Message:
  -----------
  [XCOFF] Ensure .file is emitted before any .info pseudo-ops (#71577)

When generating the assembly code for AIX/XCOFF, the .file pseudo-op
needs to be emitted first, before any csects are generated. Otherwise,
information such as the embedded command line will be associated with
part of the object file rather than the entire object file.




More information about the All-commits mailing list