1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/tools/llvm-reduce
Langston Barrett 874da3772d [llvm-reduce] Exit when input module is malformed
The parseInputFile function returns an empty unique_ptr to signal an
error, like when the input file doesn't exist, or is malformed. In this
case, the tool should exit immediately rather than segfault by
dereferencing the unique_ptr later.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D102891
2021-05-25 10:01:12 -07:00
..
deltas [llvm-reduce] Don't unset dso_local on implicitly dso_local GVs 2021-04-30 11:57:22 -07:00
CMakeLists.txt [llvm-reduce] Remove unwanted module inline asm 2021-04-06 09:35:37 -07:00
DeltaManager.cpp [llvm-reduce] Add flag to only run specific passes 2021-04-30 11:51:01 -07:00
DeltaManager.h [llvm-reduce] Add flag to only run specific passes 2021-04-30 11:51:01 -07:00
llvm-reduce.cpp [llvm-reduce] Exit when input module is malformed 2021-05-25 10:01:12 -07:00
TestRunner.cpp llvm-reduce: Remove some string copies 2019-09-16 23:54:57 +00:00
TestRunner.h [llvm-reduce] Add header guards and fix clang-tidy warnings 2021-04-01 20:38:49 -07:00