class StackSafetyGlobalInfoWrapperPass

Declaration

class StackSafetyGlobalInfoWrapperPass : public ModulePass { /* full declaration omitted */ };

Description

This pass performs the global (interprocedural) stack safety analysis (legacy pass manager).

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:101

Inherits from: ModulePass

Member Variables

public static char ID

Method Overview

Inherited from ModulePass:

Inherited from Pass:

Methods

StackSafetyGlobalInfoWrapperPass()

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:107

void getAnalysisUsage(
    llvm::AnalysisUsage& AU) const

Description

getAnalysisUsage - This function should be overriden by passes that need analysis information to do their job. If a pass specifies that it uses a particular analysis result to this function, it can then use the getAnalysis <AnalysisType >() function, below.

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:112

Parameters

llvm::AnalysisUsage& AU

const llvm::StackSafetyGlobalInfo& getResult()
    const

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:109

void print(llvm::raw_ostream& O,
           const llvm::Module* M) const

Description

print - Print out the internal state of the pass. This is called by Analyze to print out the contents of an analysis. Otherwise it is not necessary to implement this method. Beware that the module pointer MAY be null. This automatically forwards to a virtual function that does not provide the Module* in case the analysis doesn't need it it can just be ignored.

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:111

Parameters

llvm::raw_ostream& O
const llvm::Module* M

bool runOnModule(llvm::Module& M)

Description

runOnModule - Virtual method overriden by subclasses to process the module being operated on.

Declared at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:114

Parameters

llvm::Module& M