LLVM 24.0.0git
BPFUnwind.cpp File Reference

Go to the source code of this file.

Functions

static bool canUnwind (const Function &F)
 Not being nounwind is the default in IR, so that alone is not enough: uwtable is how a frontend asks for unwinding through a function to work.

Variables

static constexpr StringLiteral UnwindRaise = "_Unwind_RaiseException"
 On other targets it is a function of the unwinder library, which is why nothing else in LLVM knows the name.

Function Documentation

◆ canUnwind()

bool canUnwind ( const Function & F)
static

Not being nounwind is the default in IR, so that alone is not enough: uwtable is how a frontend asks for unwinding through a function to work.

Definition at line 54 of file BPFUnwind.cpp.

References F.

Variable Documentation

◆ UnwindRaise

StringLiteral UnwindRaise = "_Unwind_RaiseException"
staticconstexpr

On other targets it is a function of the unwinder library, which is why nothing else in LLVM knows the name.

Definition at line 50 of file BPFUnwind.cpp.