LLDB mainline
InstrumentationRuntimeBoundsSafety.cpp File Reference

Go to the source code of this file.

Classes

class  InstrumentationBoundsSafetyStopInfo

Macros

#define SOFT_TRAP_CATEGORY_PREFIX   "Soft "
#define SOFT_TRAP_FALLBACK_CATEGORY    SOFT_TRAP_CATEGORY_PREFIX "Bounds check failed"

Typedefs

using ComputedStopInfo

Functions

constexpr llvm::StringLiteral BoundsSafetySoftTrapMinimal ("__bounds_safety_soft_trap")
constexpr llvm::StringLiteral BoundsSafetySoftTrapStr ("__bounds_safety_soft_trap_s")
constexpr std::array< llvm::StringLiteral, 2 > getBoundsSafetySoftTrapRuntimeFuncs ()
template<typename T, typename... ArgTys>
LogBeforeReturn (ArgTys &&...Args)
template<typename... ArgTys>
ComputedStopInfo LogFailedCSI (ArgTys &&...Args)

Macro Definition Documentation

◆ SOFT_TRAP_CATEGORY_PREFIX

#define SOFT_TRAP_CATEGORY_PREFIX   "Soft "

◆ SOFT_TRAP_FALLBACK_CATEGORY

Typedef Documentation

◆ ComputedStopInfo

Initial value:
std::pair<std::optional<std::string>, std::optional<uint32_t>>

Definition at line 53 of file InstrumentationRuntimeBoundsSafety.cpp.

Function Documentation

◆ BoundsSafetySoftTrapMinimal()

llvm::StringLiteral BoundsSafetySoftTrapMinimal ( "__bounds_safety_soft_trap" )
constexpr

◆ BoundsSafetySoftTrapStr()

llvm::StringLiteral BoundsSafetySoftTrapStr ( "__bounds_safety_soft_trap_s" )
constexpr

◆ getBoundsSafetySoftTrapRuntimeFuncs()

std::array< llvm::StringLiteral, 2 > getBoundsSafetySoftTrapRuntimeFuncs ( )
constexpr

◆ LogBeforeReturn()

◆ LogFailedCSI()