[llvm-reduce] Don't unset dso_local on implicitly dso_local GVs
authorArthur Eubanks <aeubanks@google.com>
Fri, 30 Apr 2021 18:54:42 +0000 (11:54 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 30 Apr 2021 18:57:22 +0000 (11:57 -0700)
commit511f2cecf7c95aa2eea7447818bddf08f7222daa
treed0eca458f04d972e60f5ff4e8df579d942bef92e
parentcbd5aceb6296956387157fea9b13f49c932b8813
[llvm-reduce] Don't unset dso_local on implicitly dso_local GVs

This introduces a flag that aborts if we ever reduce to IR that fails
the verifier.

Reviewed By: swamulism, arichardson

Differential Revision: https://reviews.llvm.org/D101279
llvm/test/tools/llvm-reduce/remove-dso-local.ll
llvm/tools/llvm-reduce/deltas/Delta.cpp
llvm/tools/llvm-reduce/deltas/ReduceGlobalValues.cpp