llvm-mirror/tools/llvm-diff
Dominic Chen 69d36b0ea5 llvm-diff: Avoid crash with complex expressions
Summary: With complex IR, the difference engine can enter an inconsistent state where the instruction and block difference engines return different results. Prevent a crash by refusing to pop beyond the end of the vector.

Reviewers: rjmccall

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80351
2020-05-21 17:43:47 -04:00
..
CMakeLists.txt [CMake] llvm-diff depends on intrinsics_gen 2016-11-19 02:28:18 +00:00
DiffConsumer.cpp [IR] Replace all uses of CallBase::getCalledValue() with getCalledOperand(). 2020-04-27 22:17:03 -07:00
DiffConsumer.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DifferenceEngine.cpp llvm-diff: Avoid crash with complex expressions 2020-05-21 17:43:47 -04:00
DifferenceEngine.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiffLog.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DiffLog.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
llvm-diff.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00