FailedChanges

Changes from Git (git http://labmaster3.local/git/llvm-project.git)

Summary

  1. Use std::make_tuple instead initializer list (details)
  2. [HIP] Move HIP Linking Logic into HIP ToolChain (details)
  3. Add Statically Linked Libraries (details)
  4. llvm-nm: Implement --special-syms. (details)
  5. Fix the verification of DIEs with DW_AT_ranges. (details)
Commit 315bd964377fe8a465e2f6c8c7c06ae9c900bb0f by antiagainst
Use std::make_tuple instead initializer list

Hopefully this pleases GCC-5 and fixes the build error:

LowerExpectIntrinsic.cpp:62:53: error: converting to
'std::tuple<unsigned int, unsigned int>' from initializer list would use
explicit constructor 'constexpr std::tuple<_T1, _T2>::tuple(_U1&&,
_U2&&) [with _U1 = llvm::cl::opt<unsigned int>&; _U2 =
llvm::cl::opt<unsigned int>&; <template-parameter-2-3> = void; _T1 =
unsigned int; _T2 = unsigned int]'
     return {LikelyBranchWeight, UnlikelyBranchWeight};

Differential Revision: https://reviews.llvm.org/D82325
The file was modifiedllvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
Commit 77df5a8283edbfc33ad3b12df3bd42d54d7ba4f4 by enye.shi
[HIP] Move HIP Linking Logic into HIP ToolChain

This patch is a follow up on https://reviews.llvm.org/D78759.

Extract the HIP Linker script from generic GNU linker,
and move it into HIP ToolChain. Update OffloadActionBuilder
Link actions feature to apply device linking and host linking
actions separately. Using MC Directives, embed the device images
and define symbols.

Reviewers: JonChesterfield, yaxunl

Subscribers: tra, echristo, jdoerfert, msearles, scchan

Differential Revision: https://reviews.llvm.org/D81963
The file was modifiedclang/lib/Driver/ToolChains/HIP.cpp
The file was modifiedclang/test/Driver/hip-phases.hip
The file was modifiedclang/test/Driver/hip-toolchain-rdc-separate.hip
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.cpp
The file was modifiedclang/test/Driver/hip-toolchain-rdc.hip
The file was modifiedclang/lib/Driver/ToolChains/CommonArgs.h
The file was modifiedclang/lib/Driver/ToolChains/HIP.h
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/test/Driver/hip-save-temps.hip
The file was modifiedclang/test/Driver/hip-link-shared-library.hip
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/test/Driver/hip-link-save-temps.hip
The file was modifiedclang/test/Driver/hip-binding.hip
Commit 4bafb0adcf38cf268208ea58eb7e11402d5632e2 by enye.shi
Add Statically Linked Libraries

Add GNU Static Lib Tool, which supports the --emit-static-lib
flag. For HIP, a static library archive will be created and
consist of HIP Fat Binary host object with the device images embedded.
Using llvm-ar to create the static archive. Also, delete existing
output file to ensure a new archive is created each time.

Reviewers: yaxunl, tra, rjmccall, echristo

Subscribers: echristo, JonChesterfield, scchan, msearles

Differential Revision: https://reviews.llvm.org/D78759
The file was modifiedclang/include/clang/Driver/Action.h
The file was modifiedclang/lib/Driver/ToolChains/Linux.h
The file was modifiedclang/lib/Driver/Driver.cpp
The file was modifiedclang/lib/Driver/ToolChain.cpp
The file was addedclang/test/Driver/hip-link-static-library.hip
The file was modifiedclang/test/Driver/bindings.c
The file was modifiedclang/include/clang/Driver/ToolChain.h
The file was modifiedclang/lib/Driver/ToolChains/Gnu.h
The file was modifiedclang/lib/Driver/ToolChains/Linux.cpp
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp
The file was modifiedclang/lib/Driver/Action.cpp
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/include/clang/Driver/Driver.h
The file was modifiedclang/test/Driver/hip-link-save-temps.hip
The file was addedclang/test/Driver/hip-toolchain-rdc-static-lib.hip
Commit bd7defeb94090bb2af7104b70bc33bc64d754d1f by peter
llvm-nm: Implement --special-syms.

Differential Revision: https://reviews.llvm.org/D82251
The file was modifiedllvm/docs/CommandGuide/llvm-nm.rst
The file was modifiedllvm/test/tools/llvm-nm/debug-syms.test
The file was modifiedlld/test/ELF/aarch64-thunk-script.s
The file was modifiedllvm/tools/llvm-nm/llvm-nm.cpp
The file was modifiedllvm/test/tools/llvm-nm/AArch64/special-syms.test
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedllvm/test/MC/AArch64/mapping-within-section.s
Commit ccf5a44917fcb3e57d18d7f73bef06607ec7a20d by gclayton
Fix the verification of DIEs with DW_AT_ranges.

Summary: Previous code would try to verify DW_AT_ranges and if any ranges would overlap, it would stop attributing any ranges after this to the DIE which caused incorrect errors to be reported that a DIE's address ranges were not contained in the parent DIE's ranges. Added a fix and a test.

Reviewers: aprantl, labath, probinson, JDevlieghere, jhenderson

Subscribers: hiraditya, MaskRay, cmtice, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79962
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
The file was addedllvm/test/tools/llvm-dwarfdump/X86/verify_overlapping_cu_ranges.yaml
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h