Changes

Summary

  1. Calculate getTerminator only when necessary (details)
  2. Implement DW_CFA_LLVM_* for Heterogeneous Debugging (details)
  3. [lld-macho] Try to fix MSAN "uninitialized memory" error (details)
  4. [Testsuite] Change these tests to only have a single verification error, NFC. (details)
  5. [LLParser] Remove outdated deplibs (details)
Commit dcbbc69cc58294cedc865259c6fd5ba80ecd9bd3 by 1894981+hiraditya
Calculate getTerminator only when necessary

Differential Revision: https://reviews.llvm.org/D104202
The file was modifiedllvm/lib/Transforms/IPO/HotColdSplitting.cpp
Commit 167e7afcd52bc1438d60320ec1d1bc53b8eae4a3 by VenkataRamanaiah.Nalamothu
Implement DW_CFA_LLVM_* for Heterogeneous Debugging

Add support in MC/MIR for writing/parsing, and DebugInfo.

This is part of the Extensions for Heterogeneous Debugging defined at
https://llvm.org/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.html

Specifically the CFI instructions implemented here are defined at
https://llvm.org/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.html#cfa-definition-instructions

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D76877
The file was modifiedllvm/lib/MC/MCDwarf.cpp
The file was modifiedllvm/test/CodeGen/MIR/AArch64/cfi.mir
The file was modifiedllvm/unittests/DebugInfo/DWARF/DWARFDebugFrameTest.cpp
The file was modifiedllvm/lib/MC/MCStreamer.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
The file was modifiedllvm/lib/MC/MCParser/AsmParser.cpp
The file was addedllvm/test/tools/llvm-dwarfdump/X86/debug_frame_LLVM_def_cfa_aspace.s
The file was modifiedllvm/include/llvm/MC/MCStreamer.h
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.h
The file was addedllvm/test/MC/ELF/cfi-llvm-def-cfa-aspace-errors.s
The file was addedllvm/test/MC/ELF/cfi-llvm-def-cfa-aspace.s
The file was modifiedllvm/lib/CodeGen/MIRParser/MIParser.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.def
The file was modifiedllvm/lib/CodeGen/CFIInstrInserter.cpp
The file was modifiedllvm/lib/MC/MCAsmStreamer.cpp
The file was modifiedllvm/lib/CodeGen/MachineOperand.cpp
The file was modifiedllvm/include/llvm/MC/MCDwarf.h
Commit 9c5d43fb5513260dad86c135755bc5313a81e768 by jezng
[lld-macho] Try to fix MSAN "uninitialized memory" error

I *think* this is the fix, with the regression being introduced by
D104199. Not 100% sure since MSAN isn't supported on my Mac machine, and
it'll take some time to spin up a Linux box... will look at the
buildbots for answers
The file was modifiedlld/MachO/Writer.cpp
Commit 0dd4c4b5ae49662359a56f45bccc90b16aea35b0 by clattner
[Testsuite] Change these tests to only have a single verification error, NFC.

These are testing for various verification failures, but have missing returns
at the end of their function.  Add the returns to focus the tests better.
The file was modifiedmlir/test/Dialect/LLVMIR/global.mlir
The file was modifiedmlir/test/Dialect/GPU/invalid.mlir
Commit e0bb5020643cf22e3989c641afaa50892766b557 by th3charlie
[LLParser] Remove outdated deplibs

The comment mentions deplibs should be removed in 4.0. Removing it in this patch.

Reviewed By: compnerd, dexonsmith, lattner

Differential Revision: https://reviews.llvm.org/D102763
The file was modifiedllvm/include/llvm/AsmParser/LLParser.h
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp