LLVM API Documentation

llvm::DIVerifier Class Reference

#include <MachineDebugInfo.h>

Collaboration diagram for llvm::DIVerifier:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DIVerifier ()
 ~DIVerifier ()
bool Verify (Value *V)
bool Verify (GlobalVariable *GV)

Detailed Description

DIVerifier - This class is responsible for verifying the given network of GlobalVariables are valid as DebugInfoDesc objects.

Definition at line 776 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

llvm::DIVerifier::DIVerifier (  )  [inline]

Definition at line 788 of file MachineDebugInfo.h.

llvm::DIVerifier::~DIVerifier (  )  [inline]

Definition at line 793 of file MachineDebugInfo.h.


Member Function Documentation

bool DIVerifier::Verify ( GlobalVariable GV  ) 

Definition at line 1343 of file MachineDebugInfo.cpp.

References llvm::DIVisitor::ApplyToFields(), llvm::X86II::DD, llvm::CompileUnitDesc::DebugVersionFromGlobal(), llvm::DebugInfoDesc::DescFactory(), llvm::dwarf::DW_TAG_compile_unit, llvm::dwarf::DW_TAG_invalid, DICountVisitor::getCount(), llvm::GlobalValue::getLinkage(), llvm::User::getNumOperands(), GV, llvm::GlobalValue::InternalLinkage, DIVerifyVisitor::isValid(), llvm::GlobalValue::LinkOnceLinkage, llvm::LLVMDebugVersion, and llvm::DebugInfoDesc::TagFromGlobal().

bool DIVerifier::Verify ( Value V  ) 

Verify - Return true if the GlobalVariable appears to be a valid serialization of a DebugInfoDesc.

Definition at line 1340 of file MachineDebugInfo.cpp.

References getGlobalVariable(), and V.

Referenced by llvm::MachineDebugInfo::Verify().


The documentation for this class was generated from the following files: