25 lines · c
1//===--- DeltaPass.h - Delta Pass Structure --------------------*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAPASS_H10#define LLVM_TOOLS_LLVM_REDUCE_DELTAPASS_H11 12#include "ReducerWorkItem.h"13#include "deltas/Delta.h"14#include "llvm/ADT/StringRef.h"15 16namespace llvm {17struct DeltaPass {18 StringRef Name; // e.g., "strip-debug-info"19 void (*Func)(Oracle &, ReducerWorkItem &); // e.g., stripDebugInfoDeltaPass20 StringRef Desc; // e.g., "Stripping Debug Info"21};22} // namespace llvm23 24#endif25