LLDB mainline
Macros
PdbIndex.cpp File Reference
#include "PdbIndex.h"
#include "PdbUtil.h"
#include "llvm/DebugInfo/CodeView/SymbolDeserializer.h"
#include "llvm/DebugInfo/PDB/Native/DbiStream.h"
#include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"
#include "llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h"
#include "llvm/DebugInfo/PDB/Native/PDBFile.h"
#include "llvm/DebugInfo/PDB/Native/PublicsStream.h"
#include "llvm/DebugInfo/PDB/Native/SymbolStream.h"
#include "llvm/DebugInfo/PDB/Native/TpiStream.h"
#include "llvm/Object/COFF.h"
#include "llvm/Support/Error.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/lldb-defines.h"
#include <optional>

Go to the source code of this file.

Macros

#define ASSIGN_PTR_OR_RETURN(result_ptr, expr)
 

Macro Definition Documentation

◆ ASSIGN_PTR_OR_RETURN

#define ASSIGN_PTR_OR_RETURN (   result_ptr,
  expr 
)
Value:
{ \
auto expected_result = expr; \
if (!expected_result) \
return expected_result.takeError(); \
result_ptr = &expected_result.get(); \
}

Definition at line 34 of file PdbIndex.cpp.