Managing Suppression Rules

You can manage the suppression rules applied to each project during Intel Inspector analysis by:

Note

To apply suppression rules during analysis, select the Apply Suppressions radio button on the Target tab of the Project Properties dialog box.

Open the Suppressions Tab of the Project Properties Dialog Box

  1. Choose File > Project Properties....

  2. In the Project Properties dialog box, choose the Suppressions tab.

Add a .sup File

  1. Click the Add File button.

  2. Browse to and choose a .sup file.

  3. Click the Open button.

Outcome: The Intel Inspector updates the rules in the Suppression rule list region accordingly.

Add a Directory That Contains (or Will Contain) .sup Files

  1. Click the Add Directory button.

  2. Do one of the following:

    • Browse to and choose an existing directory.

    • Create a new directory to which you plan to save .sup files.

  3. Click the OK button.

Outcome: The Intel Inspector:

  • Displays the path to a *.sup file mask in the Suppression files region.

  • Updates the rules in the Suppression rule list region accordingly.

Note

Intel Inspector does not search recursively in directories for files identified by a *.sup mask.

Remove a .sup File or Directory Containing .sup Files

  1. Click a file or mask in the Suppression files region.

  2. Click the Remove button directly below the Suppressions files region.

Outcome: The Intel Inspector updates the rules in the Suppression rule list region accordingly.

Note

  • Removing a file or directory does not delete the file or directory from your file system.

  • You cannot remove the project suppression directory.

Remove a Specific Rule

  1. Click a rule in the Suppression rule list region.

  2. If desired, click the View... button to view the stack frame(s) in the rule. When you are finished viewing, close the View Stack dialog box.

  3. Click the Remove button directly below the Suppression rule list region.

CAUTION

Removing a rule from the list deletes the rule from your file system.

For more complete information about compiler optimizations, see our Optimization Notice.