xref: /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/StripNonLineTableDebugInfo.h (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1 //===- StripNonLineTableDebugInfo.h - -------------------------------------===//
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-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_TRANSFORMS_UTILS_STRIPNONLINETABLEDEBUGINFO_H
10 #define LLVM_TRANSFORMS_UTILS_STRIPNONLINETABLEDEBUGINFO_H
11 
12 #include "llvm/IR/PassManager.h"
13 
14 namespace llvm {
15 
16 class Module;
17 
18 class StripNonLineTableDebugInfoPass
19     : public PassInfoMixin<StripNonLineTableDebugInfoPass> {
20 public:
21   PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);
22 };
23 
24 } // end namespace llvm
25 
26 #endif // LLVM_TRANSFORMS_UTILS_STRIPNONLINETABLEDEBUGINFO_H
27