[all-commits] [llvm/llvm-project] edf4d6: [AIX] Print printable byte list as quoted string

jsji via All-commits all-commits at lists.llvm.org
Thu May 20 19:38:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edf4d69d3888d99187ac28cfcd96a93b41623896
      https://github.com/llvm/llvm-project/commit/edf4d69d3888d99187ac28cfcd96a93b41623896
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-05-21 (Fri, 21 May 2021)

  Changed paths:
    M clang/test/CodeGenCXX/debug-info-byval.cpp
    M llvm/include/llvm/MC/MCAsmInfo.h
    M llvm/lib/MC/MCAsmInfoXCOFF.cpp
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable-clobber-register.ll
    M llvm/test/CodeGen/PowerPC/aix-emit-tracebacktable.ll
    M llvm/test/CodeGen/PowerPC/aix-exception.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-data-sections.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-data.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-mergeable-str.ll
    M llvm/test/CodeGen/PowerPC/aix-xcoff-rodata.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:
  -----------
  [AIX] Print printable byte list as quoted string

.byte supports string, so if the whole byte list are printable,
we can actually print the string for readability and LIT tests maintainence.

        .byte 'H,'e,'l,'l,'o,',,' ,'w,'o,'r,'l,'d
->
        .byte "Hello, world"

Reviewed By: hubert.reinterpretcast

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




More information about the All-commits mailing list