clang
7.0.0
|
A scoped helper to set the current debug location to an inlined location. More...
#include "/work/llvm-www-releases/7.0.0/docsbuild/llvm.src/tools/clang/lib/CodeGen/CGDebugInfo.h"
Public Member Functions | |
ApplyInlineDebugLocation (CodeGenFunction &CGF, GlobalDecl InlinedFn) | |
Set up the CodeGenFunction's DebugInfo to produce inline locations for the function InlinedFn . More... | |
~ApplyInlineDebugLocation () | |
Restore everything back to the orginial state. More... | |
A scoped helper to set the current debug location to an inlined location.
Definition at line 696 of file CGDebugInfo.h.
ApplyInlineDebugLocation::ApplyInlineDebugLocation | ( | CodeGenFunction & | CGF, |
GlobalDecl | InlinedFn | ||
) |
Set up the CodeGenFunction's DebugInfo to produce inline locations for the function InlinedFn
.
The current debug location becomes the inlined call site of the inlined function.
Definition at line 143 of file CGDebugInfo.cpp.
References clang::CodeGen::CodeGenFunction::Builder, and clang::CodeGen::CodeGenFunction::getDebugInfo().
ApplyInlineDebugLocation::~ApplyInlineDebugLocation | ( | ) |
Restore everything back to the orginial state.
Definition at line 159 of file CGDebugInfo.cpp.
References clang::CodeGen::CodeGenFunction::Builder, clang::CodeGen::CGDebugInfo::EmitInlineFunctionEnd(), and clang::CodeGen::CodeGenFunction::getDebugInfo().