class DIFile

Declaration

class DIFile : public DIScope { /* full declaration omitted */ };

Description

File. TODO: Merge with directory/file node (including users). TODO: Canonicalize paths on creation.

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:452

Inherits from: DIScope

Member Variables

Inherited from Metadata:

protected Storage
protected ImplicitCode
protected SubclassData16 = 0
protected SubclassData32 = 0

Method Overview

Inherited from DIScope:

Inherited from DINode:

Inherited from MDNode:

Inherited from Metadata:

Methods

static bool classof(const llvm::Metadata* MD)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:555

Parameters

const llvm::Metadata* MD

llvm::TempDIFile clone() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:533

Optional<ChecksumInfo<llvm::StringRef>>
getChecksum() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:537

static Optional<llvm::DIFile::ChecksumKind>
getChecksumKind(llvm::StringRef CSKindStr)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:553

Parameters

llvm::StringRef CSKindStr

static llvm::StringRef getChecksumKindAsString(
    llvm::DIFile::ChecksumKind CSKind)

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:552

Parameters

llvm::DIFile::ChecksumKind CSKind

llvm::StringRef getDirectory() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:536

llvm::StringRef getFilename() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:535

Optional<ChecksumInfo<llvm::MDString*>>
getRawChecksum() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:549

llvm::MDString* getRawDirectory() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:548

llvm::MDString* getRawFilename() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:547

Optional<llvm::MDString*> getRawSource() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:550

Optional<llvm::StringRef> getSource() const

Declared at: llvm/include/llvm/IR/DebugInfoMetadata.h:543