aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/MachineStripDebug.h
blob: eb8915592358dfa39fbb0828fe869e25c53ef2ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-3.0-or-later

#ifndef RCC_CODEGEN_MACHINESTRIPDEBUG_H
#define RCC_CODEGEN_MACHINESTRIPDEBUG_H

#include "rcc/Support/Error.h"

namespace rcc {

class MachineFunction;

[[nodiscard]] Expected<bool> stripDebugMachineFunction(MachineFunction &Function);

} // namespace rcc

#endif // RCC_CODEGEN_MACHINESTRIPDEBUG_H