A function pass for nsan instrumentation.

Synopsis

Declared in <llvm/Transforms/Instrumentation/NumericalStabilitySanitizer.h>

struct NumericalStabilitySanitizerPass
    : RequiredPassInfoMixin<NumericalStabilitySanitizerPass>

Description

Instruments functions to duplicate floating point computations in a higher‐precision type. This pass inserts calls to runtime library functions. If the functions aren't declared yet, the pass inserts the declarations.

Base Classes

Name

Description

RequiredPassInfoMixin<NumericalStabilitySanitizerPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

run

Run NumericalStabilitySanitizer instrumentation over the module.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs