This reverts commit aec6a04b8e99b42eca431fc0b56947937d3a14c2. (google/benchmark still at hash 1576991177ba97a4b2ff6c45950f1fa6e9aa678c as it was in #83488. Also reapplied same extra local diffs) Verified locally.
12 lines
233 B
C++
12 lines
233 B
C++
#include "check.h"
|
|
|
|
namespace benchmark {
|
|
namespace internal {
|
|
|
|
static AbortHandlerT* handler = &std::abort;
|
|
|
|
BENCHMARK_EXPORT AbortHandlerT*& GetAbortHandler() { return handler; }
|
|
|
|
} // namespace internal
|
|
} // namespace benchmark
|