FailedChanges

Summary

  1. [AArch64] Fix mismatch in prologue and epilogue for funclets on Windows (details)
  2. [AArch64] Change AArch64 Windows EH UnwindHelp object to be a fixed object (details)
  3. [Object] Update ObjectFile::makeTriple for XCOFF (details)
  4. [FileCheck] Add missing %ProtectFileCheckOutput to FileCheck tests (details)
  5. Add a Type::Payload typedef. (NFC) (details)
Commit 522b4c4b88a5606b0074926e8658e7fede97c230 by efriedma
[AArch64] Fix mismatch in prologue and epilogue for funclets on Windows

The generated code for a funclet can have an add to sp in the epilogue
for which there is no corresponding sub in the prologue.

This patch removes the early return from emitPrologue that was
preventing the sub to sp, and instead conditionalizes the appropriate
parts of the rest of the function.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45345

Differential Revision: https://reviews.llvm.org/D77015
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was addedllvm/test/CodeGen/AArch64/funclet-match-add-sub-stack.ll
Commit 494abe139a9aab991582f1b3f3370b99b252944c by efriedma
[AArch64] Change AArch64 Windows EH UnwindHelp object to be a fixed object

The UnwindHelp object is used during exception handling by runtime
code. It must be findable from a fixed offset from FP.

This change allocates the UnwindHelp object as a fixed object (as is
done for x86_64) to ensure that both the generated code and runtime
agree on the location of the object.

Fixes https://bugs.llvm.org/show_bug.cgi?id=45346

Differential Revision: https://reviews.llvm.org/D77016
The file was modifiedllvm/test/CodeGen/AArch64/wineh-try-catch-realign.ll
The file was modifiedllvm/test/CodeGen/AArch64/seh-finally.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64FrameLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/wineh-try-catch.ll
The file was modifiedllvm/test/CodeGen/AArch64/wineh-try-catch-cbz.ll
The file was addedllvm/test/CodeGen/AArch64/wineh-unwindhelp-via-fp.ll
Commit 478af4479ab65b90a4c7bd6460ff685d8e95d625 by hubert.reinterpretcast
[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
The file was modifiedllvm/lib/Object/ObjectFile.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-return55.ll
The file was modifiedllvm/test/tools/llvm-objdump/XCOFF/disassemble-all.test
Commit 8f8c4950fead500bf1086f36f21b0b52e93b2b05 by jdenny.ornl
[FileCheck] Add missing %ProtectFileCheckOutput to FileCheck tests

I'm committing this fixup without review because it's an obvious
continuation of D65121 (committed at f471eb8e99b5).
The file was modifiedllvm/test/FileCheck/numeric-defines-diagnostics.txt
The file was modifiedllvm/test/FileCheck/numeric-expression.txt
Commit 00efcd6fffa533e5a4aa5646e678d57df0f9aca8 by Adrian Prantl
Add a Type::Payload typedef. (NFC)

This addresses review feedback from Raphael that I missed before
landing the change that introduced the payload field.
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
The file was modifiedlldb/include/lldb/Symbol/Type.h