[all-commits] [llvm/llvm-project] 478af4: [Object] Update ObjectFile::makeTriple for XCOFF

Hubert Tong via All-commits all-commits at lists.llvm.org
Tue Mar 31 14:26:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 478af4479ab65b90a4c7bd6460ff685d8e95d625
      https://github.com/llvm/llvm-project/commit/478af4479ab65b90a4c7bd6460ff685d8e95d625
  Author: Hubert Tong <hubert.reinterpretcast at gmail.com>
  Date:   2020-03-31 (Tue, 31 Mar 2020)

  Changed paths:
    M llvm/lib/Object/ObjectFile.cpp
    M llvm/test/CodeGen/PowerPC/aix-return55.ll
    M llvm/test/tools/llvm-objdump/XCOFF/disassemble-all.test

  Log Message:
  -----------
  [Object] Update ObjectFile::makeTriple for XCOFF

Summary:
When we encounter an XCOFF file, reflect that in the triple information.
In addition to knowing the object file format, we know that the
associated OS is AIX.

This means that we can expect that there is no output difference in the
processing of an XCOFF32 input file between cases where the triple is
left unspecified by the user and cases where the user specifies
`--triple powerpc-ibm-aix` explicitly.

Reviewers: jhenderson, sfertile, jasonliu, daltenty

Reviewed By: jasonliu

Subscribers: wuzish, nemanjai, hiraditya, MaskRay, rupprecht, steven.zhang, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list