LLVM API Documentation
DIFile - This is a wrapper for a file. More...
#include <DebugInfo.h>
Public Member Functions | |
DIFile (const MDNode *N=nullptr) | |
MDNode * | getFileNode () const |
Retrieve the MDNode for the directory/file pair. | |
bool | Verify () const |
Verify that the file descriptor is well formed. | |
Friends | |
class | DIDescriptor |
DIFile - This is a wrapper for a file.
Definition at line 447 of file DebugInfo.h.
llvm::DIFile::DIFile | ( | const MDNode * | N = nullptr | ) | [inline, explicit] |
Definition at line 451 of file DebugInfo.h.
References N.
MDNode * DIFile::getFileNode | ( | ) | const |
Retrieve the MDNode for the directory/file pair.
Definition at line 623 of file DebugInfo.cpp.
References getNodeField().
Referenced by llvm::DIBuilder::createClassType(), llvm::DIBuilder::createEnumerationType(), llvm::DIBuilder::createForwardDecl(), createFunctionHelper(), llvm::DIBuilder::createLexicalBlock(), llvm::DIBuilder::createLexicalBlockFile(), llvm::DIBuilder::createMemberType(), llvm::DIBuilder::createMethod(), llvm::DIBuilder::createNameSpace(), llvm::DIBuilder::createObjCIVar(), llvm::DIBuilder::createReplaceableForwardDecl(), llvm::DIBuilder::createStaticMemberType(), llvm::DIBuilder::createStructType(), llvm::DIBuilder::createTypedef(), and llvm::DIBuilder::createUnionType().
bool DIFile::Verify | ( | ) | const |
Verify that the file descriptor is well formed.
Reimplemented from llvm::DIDescriptor.
Definition at line 626 of file DebugInfo.cpp.
Referenced by llvm::DIDescriptor::Verify().
friend class DIDescriptor [friend] |
Reimplemented from llvm::DIScope.
Definition at line 448 of file DebugInfo.h.