SuccessChanges

Summary

  1. Revert [clangd] Extract per-dir CDB cache to its own threadsafe class. NFC (details)
  2. [MC][ELF] Accept abbreviated form with sh_flags and sh_entsize (details)
  3. [libc++] NFCI: Implement make_shared as allocate_shared with std::allocator (details)
  4. [libc++] Use TARGET_FILE instead of TARGET_SONAME_FILE when generating ABI lists (details)
Commit 4d956af594c5adc9d566d1846d86dd89c70c9c0b by sam.mccall
Revert [clangd] Extract per-dir CDB cache to its own threadsafe class. NFC

This reverts commit 8a4390dc4768fcd929a7231717980ccb28f124f7.

(The reland did not have the bugfix, just trying to get more details
from the buildbots)
The file was modifiedclang-tools-extra/clangd/GlobalCompilationDatabase.cpp
The file was modifiedclang-tools-extra/clangd/GlobalCompilationDatabase.h
Commit 1deff4009e0ae661b03682901bf6932297ce7ea1 by abidh
[MC][ELF] Accept abbreviated form with sh_flags and sh_entsize

D73999 / commit 75af9da755721123e62b45cd0bc0c5e688a9722a
added for LLVM 11 a check that sh_flags and sh_entsize (and sh_type)
changes are an error, in line with GNU assembler.

However, GNU assembler accepts and GCC generates an abbreviated form:
while the first .section contains the flags and entsize, subsequent
sections simply contain the name without repeating entsize or flags.

Do likewise for better compatibility.

See https://bugs.llvm.org/show_bug.cgi?id=48201

Reviewed By: jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D92052
The file was modifiedllvm/lib/MC/MCParser/ELFAsmParser.cpp
The file was addedllvm/test/MC/ELF/section-omitted-attributes.s
The file was modifiedllvm/test/MC/ELF/section-flags-changed.s
Commit ece3e5bb8b05370645b0add95c0da04f4a740724 by Louis Dionne
[libc++] NFCI: Implement make_shared as allocate_shared with std::allocator

This simplifies the implementation, and it appears to be equivalent since
make_shared was allocating memory with std::allocator anyway.

Differential Revision: https://reviews.llvm.org/D93071
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/allocate_shared.protected.verify.cpp
The file was removedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.protected.fail.cpp
The file was addedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.protected.verify.cpp
The file was modifiedlibcxx/include/memory
Commit f75bf712deecc1be157f7ba6e2fd80922942546c by Louis Dionne
[libc++] Use TARGET_FILE instead of TARGET_SONAME_FILE when generating ABI lists

TARGET_SONAME_FILE isn't valid on Windows, and TARGET_FILE should achieve
the same results.

Differential Revision: https://reviews.llvm.org/D92856
The file was modifiedlibcxx/lib/abi/CMakeLists.txt