LLVM 20.0.0git
StripNonLineTableDebugInfo.cpp
Go to the documentation of this file.
1//===- StripNonLineTableDebugInfo.cpp -- Strip parts of Debug Info --------===//
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
10#include "llvm/IR/DebugInfo.h"
11
12using namespace llvm;
13
19 return PA;
20}
A container for analyses that lazily runs them and caches their results.
Definition: PassManager.h:253
Represents analyses that only rely on functions' control flow.
Definition: Analysis.h:72
A Module instance is used to store all the information related to an LLVM module.
Definition: Module.h:65
A set of analyses that are preserved following a run of a transformation pass.
Definition: Analysis.h:111
void preserveSet()
Mark an analysis set as preserved.
Definition: Analysis.h:146
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
bool stripNonLineTableDebugInfo(Module &M)
Downgrade the debug info in a module to contain only line table information.
Definition: DebugInfo.cpp:826