mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 13:16:06 +00:00

I often run llvm-reduce on IR that contains debug info, this prevents an extra step of `opt -passes=strip` I do every time and will result in a lot less invalid reductions around debug metadata. Reviewed By: dblaikie Differential Revision: https://reviews.llvm.org/D136208
19 lines
594 B
C++
19 lines
594 B
C++
//===- StripDebugInfo.h -----------------------------------------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_STRIPDEBUGINFO_H
|
|
#define LLVM_TOOLS_LLVM_REDUCE_DELTAS_STRIPDEBUGINFO_H
|
|
|
|
#include "Delta.h"
|
|
|
|
namespace llvm {
|
|
void stripDebugInfoDeltaPass(TestRunner &Test);
|
|
} // namespace llvm
|
|
|
|
#endif
|