FailedChanges

Summary

  1. [analyzer] ReturnValueChecker: Model the guaranteed boolean return value of function calls Summary: It models the known LLVM methods paired with their class. Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus Reviewed By: NoQ Subscribers: dschuff, aheejin, mgorny, szepet, rnkovacs, a.sidorin, mikhail.ramalho, donat.nagy, dkrupp, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63915
  2. [Remarks] Require an explicit format to the parser Make the parser require an explicit format. This allows new formats to be easily added by following YAML as an example.
  3. [Remarks][NFC] Move the string table parsing out of the parser constructor Make the parser take an already-parsed string table.
  4. [WebAssembly] Update test failure explanations
  5. [MachO] Add valid architecture function Added array of valid architectures and function returning array. Modified llvm-lipo to include list of valid architectures in error message for invalid arch. Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D63735
  6. [JITLink][ORC] Add EHFrameRegistrar interface, use in EHFrameRegistrationPlugin. Replaces direct calls to eh-frame registration with calls to methods on an EHFrameRegistrar instance. This allows clients to substitute a registrar that registers frames in a remote process via IPC/RPC.
  7. Revert [ThinLTO] Optimize writeonly globals out This reverts r365040 (git commit 5cacb914758c7f436b47c8362100f10cef14bbc4) Speculatively reverting, since this appears to have broken check-lld on Linux. Partial analysis in https://crbug.com/981168.
  8. [WebAssembly] Enable IndirectBrExpandPass Wasm doesn't have a direct way to lower indirectbr, so hook up the IndirectBrExpandPass to lower indirectbr into a switch. Fixes PR42498 Reviewers: aheejin Differential Revision: https://reviews.llvm.org/D64161
Revision 365103 by charusso:
[analyzer] ReturnValueChecker: Model the guaranteed boolean return value of function calls

Summary: It models the known LLVM methods paired with their class.

Reviewers: NoQ, xazax.hun, ravikandhadai, baloghadamsoftware, Szelethus

Reviewed By: NoQ

Subscribers: dschuff, aheejin, mgorny, szepet, rnkovacs, a.sidorin,
             mikhail.ramalho, donat.nagy, dkrupp, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D63915
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/StaticAnalyzer/Checkers/Checkers.td (diff)clang.src/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modified/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h (diff)clang.src/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
The file was modified/cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt (diff)clang.src/lib/StaticAnalyzer/Checkers/CMakeLists.txt
The file was added/cfe/trunk/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cppclang.src/lib/StaticAnalyzer/Checkers/ReturnValueChecker.cpp
The file was modified/cfe/trunk/lib/StaticAnalyzer/Core/PathDiagnostic.cpp (diff)clang.src/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
The file was added/cfe/trunk/test/Analysis/return-value-guaranteed.cppclang.src/test/Analysis/return-value-guaranteed.cpp
Revision 365102 by thegameg:
[Remarks] Require an explicit format to the parser

Make the parser require an explicit format.

This allows new formats to be easily added by following YAML as an
example.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Remarks/RemarkParser.h (diff)llvm.src/include/llvm/Remarks/RemarkParser.h
The file was modified/llvm/trunk/lib/Remarks/RemarkParser.cpp (diff)llvm.src/lib/Remarks/RemarkParser.cpp
The file was modified/llvm/trunk/lib/Remarks/RemarkParserImpl.h (diff)llvm.src/lib/Remarks/RemarkParserImpl.h
The file was modified/llvm/trunk/lib/Remarks/YAMLRemarkParser.h (diff)llvm.src/lib/Remarks/YAMLRemarkParser.h
The file was modified/llvm/trunk/tools/llvm-opt-report/OptReport.cpp (diff)llvm.src/tools/llvm-opt-report/OptReport.cpp
The file was modified/llvm/trunk/unittests/Remarks/YAMLRemarksParsingTest.cpp (diff)llvm.src/unittests/Remarks/YAMLRemarksParsingTest.cpp
Revision 365101 by thegameg:
[Remarks][NFC] Move the string table parsing out of the parser constructor

Make the parser take an already-parsed string table.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Remarks/RemarkParser.h (diff)llvm.src/include/llvm/Remarks/RemarkParser.h
The file was modified/llvm/trunk/lib/Remarks/RemarkParser.cpp (diff)llvm.src/lib/Remarks/RemarkParser.cpp
The file was modified/llvm/trunk/lib/Remarks/YAMLRemarkParser.cpp (diff)llvm.src/lib/Remarks/YAMLRemarkParser.cpp
The file was modified/llvm/trunk/lib/Remarks/YAMLRemarkParser.h (diff)llvm.src/lib/Remarks/YAMLRemarkParser.h
The file was modified/llvm/trunk/unittests/Remarks/YAMLRemarksParsingTest.cpp (diff)llvm.src/unittests/Remarks/YAMLRemarksParsingTest.cpp
Revision 365100 by dschuff:
[WebAssembly] Update test failure explanations
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/WebAssembly/known_gcc_test_failures.txt (diff)llvm.src/lib/Target/WebAssembly/known_gcc_test_failures.txt
Revision 365099 by smeenai:
[MachO] Add valid architecture function

Added array of valid architectures and function returning array.
Modified llvm-lipo to include list of valid architectures in error message for invalid arch.

Patch by Anusha Basana <anusha.basana@gmail.com>

Differential Revision: https://reviews.llvm.org/D63735
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/Object/MachO.h (diff)llvm.src/include/llvm/Object/MachO.h
The file was modified/llvm/trunk/lib/Object/MachOObjectFile.cpp (diff)llvm.src/lib/Object/MachOObjectFile.cpp
The file was modified/llvm/trunk/test/tools/llvm-lipo/thin-universal-binary.test (diff)llvm.src/test/tools/llvm-lipo/thin-universal-binary.test
The file was modified/llvm/trunk/tools/llvm-lipo/llvm-lipo.cpp (diff)llvm.src/tools/llvm-lipo/llvm-lipo.cpp
Revision 365098 by Lang Hames:
[JITLink][ORC] Add EHFrameRegistrar interface, use in EHFrameRegistrationPlugin.

Replaces direct calls to eh-frame registration with calls to methods on an
EHFrameRegistrar instance. This allows clients to substitute a registrar that
registers frames in a remote process via IPC/RPC.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h (diff)llvm.src/include/llvm/ExecutionEngine/JITLink/EHFrameSupport.h
The file was modified/llvm/trunk/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h (diff)llvm.src/include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h
The file was modified/llvm/trunk/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp (diff)llvm.src/lib/ExecutionEngine/JITLink/EHFrameSupport.cpp
The file was modified/llvm/trunk/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp (diff)llvm.src/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
The file was modified/llvm/trunk/tools/llvm-jitlink/llvm-jitlink.cpp (diff)llvm.src/tools/llvm-jitlink/llvm-jitlink.cpp
Revision 365097 by rnk:
Revert [ThinLTO] Optimize writeonly globals out

This reverts r365040 (git commit 5cacb914758c7f436b47c8362100f10cef14bbc4)

Speculatively reverting, since this appears to have broken check-lld on
Linux. Partial analysis in https://crbug.com/981168.
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/IR/ModuleSummaryIndex.h (diff)llvm.src/include/llvm/IR/ModuleSummaryIndex.h
The file was modified/llvm/trunk/lib/Analysis/ModuleSummaryAnalysis.cpp (diff)llvm.src/lib/Analysis/ModuleSummaryAnalysis.cpp
The file was modified/llvm/trunk/lib/AsmParser/LLParser.cpp (diff)llvm.src/lib/AsmParser/LLParser.cpp
The file was modified/llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp (diff)llvm.src/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modified/llvm/trunk/lib/Bitcode/Writer/BitcodeWriter.cpp (diff)llvm.src/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modified/llvm/trunk/lib/IR/AsmWriter.cpp (diff)llvm.src/lib/IR/AsmWriter.cpp
The file was modified/llvm/trunk/lib/IR/ModuleSummaryIndex.cpp (diff)llvm.src/lib/IR/ModuleSummaryIndex.cpp
The file was modified/llvm/trunk/lib/LTO/LTO.cpp (diff)llvm.src/lib/LTO/LTO.cpp
The file was modified/llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp (diff)llvm.src/lib/Transforms/IPO/FunctionImport.cpp
The file was modified/llvm/trunk/lib/Transforms/Utils/FunctionImportUtils.cpp (diff)llvm.src/lib/Transforms/Utils/FunctionImportUtils.cpp
The file was modified/llvm/trunk/test/Assembler/thinlto-summary.ll (diff)llvm.src/test/Assembler/thinlto-summary.ll
The file was modified/llvm/trunk/test/Assembler/thinlto-vtable-summary.ll (diff)llvm.src/test/Assembler/thinlto-vtable-summary.ll
The file was modified/llvm/trunk/test/Bitcode/summary_version.ll (diff)llvm.src/test/Bitcode/summary_version.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-alias.ll (diff)llvm.src/test/Bitcode/thinlto-alias.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-alias2.ll (diff)llvm.src/test/Bitcode/thinlto-alias2.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-function-summary-callgraph-cast.ll (diff)llvm.src/test/Bitcode/thinlto-function-summary-callgraph-cast.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll (diff)llvm.src/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll (diff)llvm.src/test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll (diff)llvm.src/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll (diff)llvm.src/test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-function-summary-callgraph.ll (diff)llvm.src/test/Bitcode/thinlto-function-summary-callgraph.ll
The file was modified/llvm/trunk/test/Bitcode/thinlto-function-summary-refgraph.ll (diff)llvm.src/test/Bitcode/thinlto-function-summary-refgraph.ll
The file was removed/llvm/trunk/test/ThinLTO/X86/Inputs/dot-dumper2.llllvm.src/test/ThinLTO/X86/Inputs/dot-dumper2.ll
The file was removed/llvm/trunk/test/ThinLTO/X86/dot-dumper2.llllvm.src/test/ThinLTO/X86/dot-dumper2.ll
The file was modified/llvm/trunk/test/ThinLTO/X86/index-const-prop2.ll (diff)llvm.src/test/ThinLTO/X86/index-const-prop2.ll
The file was removed/llvm/trunk/test/ThinLTO/X86/writeonly.llllvm.src/test/ThinLTO/X86/writeonly.ll
The file was removed/llvm/trunk/test/ThinLTO/X86/writeonly2.llllvm.src/test/ThinLTO/X86/writeonly2.ll
Revision 365096 by dschuff:
[WebAssembly] Enable IndirectBrExpandPass

Wasm doesn't have a direct way to lower indirectbr, so hook up the
IndirectBrExpandPass to lower indirectbr into a switch.

Fixes PR42498

Reviewers: aheejin

Differential Revision: https://reviews.llvm.org/D64161
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/Target/WebAssembly/WebAssemblySubtarget.h (diff)llvm.src/lib/Target/WebAssembly/WebAssemblySubtarget.h
The file was modified/llvm/trunk/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp (diff)llvm.src/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
The file was modified/llvm/trunk/lib/Target/WebAssembly/known_gcc_test_failures.txt (diff)llvm.src/lib/Target/WebAssembly/known_gcc_test_failures.txt
The file was added/llvm/trunk/test/CodeGen/WebAssembly/indirectbr.llllvm.src/test/CodeGen/WebAssembly/indirectbr.ll