Record a trap in the XCOFF exception section for Symbol.

Synopsis

Declared in <llvm/MC/MCXCOFFObjectWriter.h>

virtual
void
addExceptionEntry(
    MCSymbol const* Symbol,
    MCSymbol const* Trap,
    unsigned int LanguageCode,
    unsigned int ReasonCode,
    unsigned int FunctionSize,
    bool hasDebug) = 0;

Parameters

Name

Description

Symbol

‐ Function containing the trap.

Trap

‐ Trap‐instruction symbol.

LanguageCode

‐ Language code for the exception entry.

ReasonCode

‐ Reason code for the exception entry.

FunctionSize

‐ Size of the function containing the trap.

hasDebug

‐ True if the function has debug information.

Created with MrDocs