SuccessChanges

Summary

  1. [llvm-readobj] - Refine the LLVM-style output to be consistent. (details)
  2. [LLD][ELF] - Update test cases after llvm-readobj output format change. (details)
  3. SemaDeclObjC - silence static analyzer getAs<> null dereference (details)
  4. [LoopIdiom] BCmp: check, not assert that loop exits exit out of the loop (details)
Commit 9b8e5316f2a04b0cb641ba333fd776c88f3c021f by grimar
[llvm-readobj] - Refine the LLVM-style output to be consistent.
Our LLVM-style output was inconsistent. This patch changes the output in
the following way:
SHT_GNU_verdef { -> VersionDefinitions [ SHT_GNU_verneed { ->
VersionRequirements [ Version symbols [ -> VersionSymbols [ EH_FRAME
Header [ -> EHFrameHeader {
Differential revision: https://reviews.llvm.org/D68636
llvm-svn: 375095
The file was modifiedllvm/test/tools/llvm-readobj/unwind.test
The file was modifiedllvm/test/tools/yaml2obj/versym-section.yaml
The file was modifiedllvm/test/tools/llvm-readobj/elf-versioninfo.test
The file was modifiedllvm/test/tools/yaml2obj/verneed-section.yaml
The file was modifiedllvm/test/tools/llvm-readobj/all.test
The file was modifiedllvm/test/Object/multiple-sections.yaml
The file was modifiedllvm/test/tools/yaml2obj/verdef-section.yaml
The file was modifiedllvm/test/tools/llvm-readobj/elf-verneed-flags.yaml
The file was modifiedllvm/tools/llvm-readobj/DwarfCFIEHPrinter.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
Commit 938db706fe73bb7308e54f5a9f5ade2396783fb4 by grimar
[LLD][ELF] - Update test cases after llvm-readobj output format change.
The change was:
SHT_GNU_verdef { -> VersionDefinitions [ SHT_GNU_verneed { ->
VersionRequirements [ Version symbols [ -> VersionSymbols [ EH_FRAME
Header [ -> EHFrameHeader {
llvm-svn: 375096
The file was modifiedlld/test/ELF/verdef-dependency.s
The file was modifiedlld/test/ELF/version-script-extern.s
The file was modifiedlld/test/ELF/verneed.s
The file was modifiedlld/test/ELF/version-script-extern-undefined.s
The file was modifiedlld/test/ELF/linkerscript/version-script.s
The file was modifiedlld/test/ELF/verdef.s
The file was modifiedlld/test/ELF/verdef-defaultver.s
The file was modifiedlld/test/ELF/version-script-locals-extern.s
The file was modifiedlld/test/ELF/empty-ver.s
The file was modifiedlld/test/ELF/partition-synthetic-sections.s
The file was modifiedlld/test/ELF/empty-ver2.s
The file was modifiedlld/test/ELF/verneed-as-needed-weak.s
The file was modifiedlld/test/ELF/version-script-symver2.s
The file was modifiedlld/test/ELF/version-script-extern-wildcards.s
The file was modifiedlld/test/ELF/version-script-extern2.s
Commit a867cca091952436ce2f38f31a4b0818aac98dfa by llvm-dev
SemaDeclObjC - silence static analyzer getAs<> null dereference
warnings. NFCI.
The static analyzer is warning about potential null dereferences, but in
these cases we should be able to use castAs<> directly and if not assert
will fire for us.
llvm-svn: 375097
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
Commit fda3243fdd9880441af11dd39a3120b3874fd42c by lebedev.ri
[LoopIdiom] BCmp: check, not assert that loop exits exit out of the loop
(PR43687)
We can't normally stumble into that assertion because a tautological
*conditional* `br` in loop body is required, one that always branches to
loop latch. But that should have been always folded to an unconditional
branch before we get it. But that is not guaranteed if the pass is run
standalone. So let's just promote the assertion into a proper check.
Fixes https://bugs.llvm.org/show_bug.cgi?id=43687
llvm-svn: 375100
The file was modifiedllvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
The file was modifiedllvm/test/Transforms/LoopIdiom/bcmp-negative-tests.ll