SuccessChanges

Summary

  1. [clang][Tooling] Add a way to tokenize a FileRange (details)
  2. [OpenMP] Fix the test by generating output file in temporary directory (details)
  3. [gn build] (manually) port 2f6cc21f44e (details)
  4. [Assembler] Allow assembling empty index with non-zero flags (details)
  5. [gn build] re-"gn format" all gn files (details)
  6. [OpenCL] Add atomic type builtins (details)
  7. [mlir][Linalg] NFC - Refactor LinalgStructuredOps towards "named" Linalg ops (details)
  8. AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible (details)
  9. AMDGPU: Fix some more incorrect check lines (details)
  10. [libTooling] Add function to determine associated text of a declaration. (details)
  11. Quick fix for bot failure on "AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible" (details)
  12. Put microsoft template parameter shadow warning behind separate flag (PR44794) (details)
  13. [AIX] Remove whitelist checking for ExternalSymbolSDNodes (details)
  14. [ARM,MVE] Add predicated intrinsics for many unary functions. (details)
  15. Full fix for "AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible" (hopefully) (details)
  16. [clangd] use printQualifiedName to skip the inlinenamespace qualifiers. (details)
  17. [clang-format] Special handling of spaces for C# code (details)
  18. Recommit "[DWARFDebugLine] Avoid dumping prologue members we did not parse" (details)
  19. [DAG] visitRotate - modulo non-uniform constant rotation amounts (details)
  20. Add unit tests for RangeDataVector::FindEntryIndexesThatContain (details)
  21. [AArch64] add tests for fake fneg; NFC (details)
  22. Add _LIBCPP_BUILTIN_CONSTANT_P support. (details)
  23. Introduce DWARFDataExtractor::getInitialLength (details)
  24. [gn build] Port 3c36d8dad57 (details)
  25. [DAGCombiner] avoid narrowing fake fneg vector op (details)
  26. [clangd] Clean-up XRefs.cpp from Lexer usages and unnecessary SourceLoc transformations (details)
  27. [ELF] --orphan-handling=: don't warn/error for unused synthesized sections (details)
  28. [llvm-objcopy][test] Improve empty section tests (details)
  29. Avoid SmallString.h include in MD5.h, NFC (details)
  30. [libc] Fix build when -DBUILD_SHARED_LIBS=On (details)
  31. Use virtual functions in ParsedAttrInfo instead of function pointers (details)
  32. [PowerPC][NFC] Convert grep usage to FileCheck in lit test. (details)
Commit 8c2cf499e6119be8f3f1a0d42c4bb7e45b0d615d by kadircet
[clang][Tooling] Add a way to tokenize a FileRange

Reviewers: sammccall

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D74962
The file was modifiedclang/include/clang/Tooling/Syntax/Tokens.h (diff)
The file was modifiedclang/unittests/Tooling/Syntax/TokensTest.cpp (diff)
The file was modifiedclang/lib/Tooling/Syntax/Tokens.cpp (diff)
Commit 6e34a9a838c150b968b05b76d545969d1ddeee90 by kbobyrev
[OpenMP] Fix the test by generating output file in temporary directory

Related Revison: D74925
Commit: 396b7253944e927878dff2f6321efabb3aaa0f45
The file was modifiedclang/test/OpenMP/PR44893.c (diff)
Commit ce75c3d2b62ca6272aa0dee39c8ed06a19336005 by thakis
[gn build] (manually) port 2f6cc21f44e
The file was modifiedllvm/utils/gn/secondary/llvm/test/BUILD.gn (diff)
The file was addedllvm/utils/gn/secondary/llvm/tools/llvm-gsym/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn (diff)
Commit 8f8756d465e4743c7cffebc26de682e864c94d57 by evgeny
[Assembler] Allow assembling empty index with non-zero flags

Differential revision: https://reviews.llvm.org/D74778
The file was addedllvm/test/Assembler/summary-flags2.ll
The file was modifiedllvm/tools/llvm-as/llvm-as.cpp (diff)
Commit cfbe889af58c758853e84f8fa7a7822e22f2a9e3 by thakis
[gn build] re-"gn format" all gn files
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn (diff)
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/tests/BUILD.gn (diff)
Commit 319ea2dd9e32cd10415e1f5060e84febf7c606c6 by sven.vanhaastregt
[OpenCL] Add atomic type builtins

Add atomic types and builtins operating on those atomic types to
`-fdeclare-opencl-builtins`.  The _explicit variants are left out of
this commit, as these take enum arguments that are not yet supported
by the `-fdeclare-opencl-builtins` machinery.
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td (diff)
Commit fcfd4fb686b83a5c8c7ba2c3bd4992ff24e83870 by ntv
[mlir][Linalg] NFC - Refactor LinalgStructuredOps towards "named" Linalg ops

This revision performs some basic refactoring towards more easily defining Linalg "named" ops. Such named ops form the backbone of operations that are ubiquitous in the ML application domain.
The file was modifiedmlir/lib/Dialect/Linalg/IR/CMakeLists.txt (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp (diff)
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/CMakeLists.txt (diff)
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td (diff)
The file was addedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp (diff)
Commit 0f1df4892538ccd9ecc23d68c65c7bd2b00f3f01 by nicolai.haehnle
AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible

Summary:
The old code made some incorrect assumptions about the order in which
basic blocks are laid out in a function. This could lead to incorrect
early-exits, especially when kills occurred inside of loops.

The new approach is to check whether the point where the conditional
kill occurs dominates all reachable code. If that is the case, there
cannot be any other threads in the wave that are waiting to rejoin
at a later point in the CFG, i.e. if exec=0 at that point, then all
threads really are dead and we can exit the wave.

Make some other minor cleanups to the pass while we're at it.

v2: preserve the dominator tree

Reviewers: arsenm, cdevadas, foad, critson

Subscribers: kzhuravl, jvesely, wdng, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits

Tags: #llvm

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

Change-Id: Ia0d2b113ac944ad642d1c622b6da1b20aa1aabcc
The file was modifiedllvm/test/CodeGen/AMDGPU/skip-if-dead.ll (diff)
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertSkips.cpp (diff)
Commit 09a6b26753d739c577a92ef715c0bcedd3dc3c0d by jay.foad
AMDGPU: Fix some more incorrect check lines
The file was modifiedllvm/test/CodeGen/AMDGPU/bitcast-v4f16-v4i16.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/kernel-args.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/flat-load-clustering.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/global_atomics_i64.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/simplify-libcalls.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/v_cndmask.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/global-saddr.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/lds-bounds.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/gfx10-vop-literal.ll (diff)
The file was modifiedllvm/test/CodeGen/AMDGPU/waitcnt-preexisting.mir (diff)
Commit 38b4516de8a4a791d17085d37f95e3cc15c359f9 by yitzhakm
[libTooling] Add function to determine associated text of a declaration.

Summary:
Second attempt -- the first was reverted in commit 0e480b39c66143ad142f9a30d8d40e49d7d7b0ce, because of test breakages. This revision fixes the cause of the test breakages.

Original description follows:
This patch adds `getAssociatedRange` which, for a given decl, computes preceding
and trailing text that would conceptually be associated with the decl by the
reader. This includes comments, whitespace, and separators like ';'.

Reviewers: gribozavr

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D72153
The file was modifiedclang/unittests/Tooling/SourceCodeTest.cpp (diff)
The file was modifiedclang/include/clang/Tooling/Transformer/SourceCode.h (diff)
The file was modifiedclang/lib/Tooling/Transformer/SourceCode.cpp (diff)
Commit 0aec4b418ebc9490d6fefbe4d18dee0aeeced2ed by nicolai.haehnle
Quick fix for bot failure on "AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible"

Apparently the dominator tree update is incorrect, will investigate.

Change-Id: Ie76f8d11b22a552af1f098c893773f3d85e02d4f
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertSkips.cpp (diff)
Commit 41a6612ea8afc5254e4de3aca55628d37f0be433 by hans
Put microsoft template parameter shadow warning behind separate flag (PR44794)

Differential revision: https://reviews.llvm.org/D75121
The file was addedclang/test/SemaCXX/microsoft-template-shadow.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td (diff)
The file was modifiedclang/include/clang/Basic/DiagnosticGroups.td (diff)
Commit e7375e993248ff39e664caeea9b8a0c8b0e489b5 by Xiangling.Liao
[AIX] Remove whitelist checking for ExternalSymbolSDNodes

Allow all ExternalSymbolSDNode on AIX, and rely on the linker error to find
symbols which we don't have definitions from any library/compiler-rt.

Differential Revision: https://reviews.llvm.org/D75075
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/aix-external-sym-sdnode-lowering.ll (diff)
Commit 9eb3cc10b2c6f78ccf033cb264113fc904651cd0 by simon.tatham
[ARM,MVE] Add predicated intrinsics for many unary functions.

Summary:
This commit adds the predicated MVE intrinsics for the same set of
unary operations that I added in their unpredicated forms in

* D74333 (vrint)
* D74334 (vrev)
* D74335 (vclz, vcls)
* D74336 (vmovl)
* D74337 (vmovn)

but since the predicated versions are a lot more similar to each
other, I've kept them all together in a single big patch. Everything
here is done in the standard way we've been doing other predicated
operations: an IR intrinsic called `@llvm.arm.mve.foo.predicated` and
some isel rules that match that alongside whatever they accept for the
unpredicated version of the same instruction.

In order to write the isel rules conveniently, I've refactored the
existing isel rules for the affected instructions into multiclasses
parametrised by a vector-type class, in the usual way. All those
refactorings are intended to leave the existing isel rules unchanged:
the only difference should be that new ones for the predicated
intrinsics are introduced.

The only tiny infrastructure change I needed in this commit was to
change the implementation of `IntrinsicMX` in `arm_mve_defs.td` so
that the records it defines are anonymous rather than named (and use
`NameOverride` to set the output intrinsic name), which allows me to
call it twice in two multiclasses with the same `NAME` without a
tablegen-time error.

Reviewers: dmgreen, MarkMurrayARM, miyuki, ostannard

Reviewed By: MarkMurrayARM

Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D75165
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vclz.c (diff)
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vclzcls-predicated.ll
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vrev.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/absneg.c (diff)
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vcvt-fp-int.ll
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmovl.c (diff)
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td (diff)
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/absneg-predicated.ll
The file was modifiedclang/include/clang/Basic/arm_mve.td (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmovl.ll (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicsARM.td (diff)
The file was modifiedclang/include/clang/Basic/arm_mve_defs.td (diff)
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vcvt.c (diff)
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vrev.c (diff)
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vrnd.c (diff)
The file was modifiedclang/test/CodeGen/arm-mve-intrinsics/vmovn.c (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-intrinsics/vmovn.ll (diff)
The file was addedllvm/test/CodeGen/Thumb2/mve-intrinsics/vrint-predicated.ll
Commit d6b05fccb709eb38b5b4b21901cb63825faee83e by nicolai.haehnle
Full fix for "AMDGPU/SIInsertSkips: Fix the determination of whether early-exit-after-kill is possible" (hopefully)

Properly preserve the MachineDominatorTree in all cases.

Change-Id: I54cf0c0a20934168a356920ba8ed5097a93c4131
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertSkips.cpp (diff)
Commit 02323a3d5f9ea676865f78d603e68fa4b4b62608 by hokein.wu
[clangd] use printQualifiedName to skip the inlinenamespace qualifiers.

Summary:
symbols in libcpp are inside the inline namespace, printQualifierAsString will
print the inline namespace, which is unexpected.

Reviewers: kadircet

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75174
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp (diff)
Commit e8c5fea243ce30640ec9707fabdb635a49b3153c by jbcoe
[clang-format] Special handling of spaces for C# code

Summary:
Ensure that there are spaces around braces '{', '}'.

Ensure that there is a space before and after '=>'.

Ensure that 'async' and 'when' are considered as keywords when inserting spaces.

Reviewers: krasimir, MyDeveloperDay

Reviewed By: krasimir

Tags: #clang-format

Differential Revision: https://reviews.llvm.org/D75129
The file was modifiedclang/lib/Format/TokenAnnotator.cpp (diff)
The file was modifiedclang/unittests/Format/FormatTestCSharp.cpp (diff)
The file was modifiedclang/lib/Format/FormatToken.h (diff)
Commit ced45978a2a5b258421590214f46848e726144b8 by pavel
Recommit "[DWARFDebugLine] Avoid dumping prologue members we did not parse"

The patch was reverted in 69da40033 because of test failures on windows.
The problem was the unpredictable order of some of the error messages,
which I've tried to strenghten in that patch.

It turns out this is not possible to do in verbose mode because there
the data is being writted as it is being parsed. No amount of flushing
(as I've done in the non-verbose mode) will help that. Indeed, even
without any buffering the warning messages can end in the middle of a
line in non-verbose mode.

In this patch, I have reverted the changes which tested the relative
position of the warning message, except for the messages about
unsupported initial length, which are the ones I really wanted to test,
and which do come out reasonably.

The original commit message was:

This patch if motivated by D74560, specifically the subthread about what
to print upon encountering reserved initial length values.

If the debug_line prologue has an unsupported version, we skip parsing
the rest of the data. If we encounter an reserved initial length field,
we don't even parse the version. However, we still print out all members
(with value 0) in the dump function.

This patch introduces early exits in the Prologue::dump function so that
we print only the fields that were parsed successfully. In case of an
unsupported version, we skip printing all subsequent prologue fields --
because we don't even know if this version has those fields. In case of a
reserved unit length, we don't print anything -- if the very first field
of the prologue is invalid, it's hard to say if we even have a prologue
to begin with.

Note that the user will still be able to see the invalid/reserved
initial length value in the error message. I've modified (reordered)
debug_line_invalid.test to show that the error message comes straight
after the debug_line offset. I've also added some flush() calls to the
dumping code to ensure this is the case in all situations (without that,
the warnings could get out of sync if the output was not a terminal -- I
guess this is why std::iostreams have the tie() function).

Reviewers: jhenderson, ikudrin, dblaikie

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D75043
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp (diff)
The file was modifiedllvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test (diff)
Commit bbb0933e3d8c45916928ab2b8a13f69a30bfd34a by llvm-dev
[DAG] visitRotate - modulo non-uniform constant rotation amounts
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-fshr-rot-256.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-rot-256.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/vector-rotate-256.ll (diff)
Commit 594130db0a56c3c3d889f750c5c971fac6f33594 by pavel
Add unit tests for RangeDataVector::FindEntryIndexesThatContain

Summary: This adds unit tests for FindEntryIndexesThatContain, this is done in preparation for changing the logic of the function.

Reviewers: labath, teemperor

Reviewed By: labath

Subscribers: arphaman, JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D75180
The file was modifiedlldb/unittests/Utility/RangeMapTest.cpp (diff)
Commit 894ce940db5909cf43a428ee9cb4e99b74d9b58e by spatel
[AArch64] add tests for fake fneg; NFC

See comments in D73978 for background.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp.ll (diff)
Commit 07eb82fc06cc41a64d136d046e6b30565c3e5579 by mvels
Add _LIBCPP_BUILTIN_CONSTANT_P support.

Summary:
This change adds the macros _LIBCPP_COMPILER_HAS_BUILTIN_CONSTANT and _LIBCPP_BUILTIN_CONSTANT_P to detect compile time constants, and optimze the code accordingly.

A planned usage example:
The implementation of basic_string::assign() can short-cut a compile time known short string assignent into a fast and compact inlined assignment:

```
basic_string::assign(const value_type* __s) {
  if (_LIBCPP_BUILTIN_CONSTANT_P(__s[0]) && length(__s) < __min_cap) {
    copy(pointer(), _s, length(__s) + 1);
    set_size(length(__s));
  } else {
    // delegate / tail call out of line implementation
  }
}
```

Subscribers: christof, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D73732
The file was modifiedlibcxx/include/__config (diff)
Commit 3c36d8dad57712f6616a197632e754541e71edf4 by pavel
Introduce DWARFDataExtractor::getInitialLength

Summary:
This patch introduces a function to house the code needed to do the
DWARF64 detection dance. The function decodes the initial length field
and returns it as a pair containing the actual length, and the DWARF
encoding.

This patch does _not_ attempt to handle the problem of detecting lengths
which extend past the size of the section, or cases when reads of a
single contribution accidentally escape beyond its specified length, but
I think it's useful in its own right.

Reviewers: dblaikie, jhenderson, ikudrin

Subscribers: hiraditya, probinson, aprantl, JDevlieghere, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D74560
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFDataExtractor.cpp (diff)
The file was addedllvm/unittests/DebugInfo/DWARF/DWARFDataExtractorTest.cpp
The file was modifiedllvm/unittests/DebugInfo/DWARF/CMakeLists.txt (diff)
Commit 299c3e13fbd256d96f66a4625944ac7ccbb9cc86 by llvmgnsyncbot
[gn build] Port 3c36d8dad57
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn (diff)
Commit b3d0c798367d1dbf07d0357260b432571bff5c7d by spatel
[DAGCombiner] avoid narrowing fake fneg vector op

This may inhibit vector narrowing in general, but there's
already an inconsistency in the way that we deal with this
pattern as shown by the test diff.

We may want to add a dedicated function for narrowing fneg.
It's often folded into some other op, so moving it away from
other math ops may cause regressions that we would not see
for normal binops.

See D73978 for more details.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp.ll (diff)
Commit 2011d14296eeaae911e898d11154ee5d1a5db1d6 by kadircet
[clangd] Clean-up XRefs.cpp from Lexer usages and unnecessary SourceLoc transformations

Summary:
Get rid of calls to lexer and unnecessary source location
transformations.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D75166
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp (diff)
The file was modifiedclang-tools-extra/clangd/XRefs.cpp (diff)
Commit 423194098b88dfea86cca6f8e203e9d88f70abc9 by maskray
[ELF] --orphan-handling=: don't warn/error for unused synthesized sections

This makes --orphan-handling= less noisy.
This change also improves our compatibility with GNU ld.

GNU ld special cases .symtab, .strtab and .shstrtab . We need output section
descriptions for .symtab, .strtab and .shstrtab to suppress:

  <internal>:(.symtab) is being placed in '.symtab'
  <internal>:(.shstrtab) is being placed in '.shstrtab'
  <internal>:(.strtab) is being placed in '.strtab'

With --strip-all, .symtab and .strtab can be omitted (note, --strip-all is not compatible with --emit-relocs).

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D75149
The file was modifiedlld/ELF/LinkerScript.h (diff)
The file was modifiedlld/ELF/Writer.cpp (diff)
The file was modifiedlld/ELF/LinkerScript.cpp (diff)
The file was modifiedlld/test/ELF/linkerscript/orphan-report.s (diff)
Commit 6503aadcc6c96aecfd3489da5dc3887216948a47 by maskray
[llvm-objcopy][test] Improve empty section tests

empty-sections.test: add two tests adapted from @jhenderson's https://reviews.llvm.org/D74755#1882221
strip-non-alloc.test: improve. D74755 will change the attribution of an empty section.

They mostly test the behavior of Object.cpp:sectionWithinSegment : how we attribute sections to segments.
`ParentSegment` can affect some subtle layout decisions.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D74879
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/strip-non-alloc.test (diff)
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/empty-section.test (diff)
Commit 465dca79b311115d173fd001afd403557d78c2bb by rnk
Avoid SmallString.h include in MD5.h, NFC

Saves 200 includes, which is mostly immaterial.
The file was modifiedllvm/lib/Transforms/Coroutines/CoroFrame.cpp (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp (diff)
The file was modifiedllvm/include/llvm/Support/MD5.h (diff)
The file was modifiedllvm/lib/Support/MD5.cpp (diff)
The file was modifiedllvm/tools/llvm-diff/DifferenceEngine.cpp (diff)
Commit 805f5836d1bbd03dcc9de78881bd81dc8cb09cc4 by alexbrachetmialot
[libc] Fix build when -DBUILD_SHARED_LIBS=On

Reviewers: gchatelet, sivachandra

Reviewed By: gchatelet, sivachandra

Subscribers: libc-commits, mgorny, MaskRay, tschuett

Differential Revision: https://reviews.llvm.org/D75136
The file was modifiedlibc/utils/testutils/CMakeLists.txt (diff)
The file was modifiedlibc/utils/UnitTest/CMakeLists.txt (diff)
Commit 590dc8d02cd781b110a87b82476c3557cb5957c3 by john.brawn
Use virtual functions in ParsedAttrInfo instead of function pointers

This doesn't do anything on its own, but it's the first step towards
allowing plugins to define attributes. It does simplify the
ParsedAttrInfo generation in ClangAttrEmitter a little though.

Differential Revision: https://reviews.llvm.org/D31337
The file was modifiedclang/lib/Sema/ParsedAttr.cpp (diff)
The file was modifiedclang/utils/TableGen/ClangAttrEmitter.cpp (diff)
Commit 73c3b52676a1ec2418429665bd3724df4e695340 by sd.fertile
[PowerPC][NFC] Convert grep usage to FileCheck in lit test.
The file was modifiedllvm/test/CodeGen/PowerPC/vec_vrsave.ll (diff)