CodeViewContext has the real knowledge about this format, so let it access our members.

Synopsis

Declared in <llvm/MC/MCCodeView.h>

class CodeViewContext;

Member Functions

Name

Description

CodeViewContext [constructor]

Constructors

operator= [deleted]

Deleted copy assignment.

addFile

Record a .cv_file entry and return true on success.

addLineEntry

Add a line entry.

addToStringTable

Add something to the string table. Returns the final string as well as offset into the string table.

emitDefRange

Emit a CodeView def‐range fragment covering Ranges.

emitFileChecksumOffset

Emits the offset into the checksum table of the given file number.

emitFileChecksums

Emits the file checksum substream.

emitInlineLineTableForFunction

Emit an inline line table fragment for an inlined call site.

emitLineTableForFunction

Emits a line table substream.

emitStringTable

Emits the string table substream.

encodeDefRange

Encode a previously emitted def‐range fragment once layout is known.

encodeInlineLineTable

Encodes the binary annotations once we have a layout.

finish

Finalize CodeView state before object emission.

getCVFunctionInfo

Retreive the function info if this is a valid function id, or nullptr.

getFunctionLineEntries

Return the line entries for FuncId, including synthetic inlined‐at sites.

getLineExtent

Return the [begin, end) index range of .cv_loc entries for ]`FuncId.`

getLineExtentIncludingInlinees

Return the line extent of FuncId including inlined call sites.

getLinesForExtent

Return the .cv_loc entries in the half‐open index range []`L,` R).

isValidFileNumber

Return true if FileNumber refers to a recorded .cv_file.

recordCVLoc

Record information from the currently parsed .cv_loc directive.

recordFunctionId

Records the function id of a normal function. Returns false if the function id has already been used, and true otherwise.

recordInlinedCallSiteId

Record the function id of an inlined call site.

Created with MrDocs