Skip to content

Function pointers should not be instrumented #10

@ilagunap

Description

@ilagunap

This was incorrectly instrumented:

This line: fptr[idx_dst] = (*fine_volumes)(SAMRAI::pdat::CellIndex(*bi));
Became: fptr[idx_dst] = _FPC_CHECK_((*fine_volumes)(SAMRAI::pdat::CellIndex(* bi), ), 125, “..ineOperator.cxx”);

Here a function pointer is assigned to an array element.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions