Binary/Symbol Search and Source Search Locations

When using the Intel Advisor Standalone GUI:

  • Specify the locations of binary and symbol locations to be searched by using the Project Properties dialog box, Binary/Symbol Search tab. These locations will be searched in addition to the default binary and symbol locations.

  • Specify the source locations to be searched by using the Project Properties dialog box, Source Search tab. These locations will be searched in addition to the default source search locations.

Binary/Symbol Search Locations

Certain default binary and symbol locations are used in addition to the locations specified in the Binary/Symbol Search tab. With Intel Advisor, you can use this tab to indicate whether or not the default binary and symbol locations (listed below) will be searched.

The following list describes the order and default locations that are searched. As indicated below, some directory searches examine the specified directory and its subdirectories, while other searches do not examine its subdirectories.

  1. Search for binary or symbol files in the directories specified in the Project Properties, Binary/Symbol Search tab. With Intel Advisor, you can indicate whether the subdirectories of these directories will be searched.

  2. Search for symbol files in the directories near the related (corresponding) binary file(s) just found, such as a library:

    • Check in the directory of the corresponding binary file, using the corresponding name.
    • Check in the directory of the corresponding binary file, using a related name. For example, for app.dll where a file app_x86.pdb is present, also search for file app.pdb.

  3. When using an integrated Visual Studio project, the directories provided by the Visual Studio project pre-populate the corresponding directories in the internal representation of the Binary/Symbol Search tab (for example, Visual Studio binary locations pre-populate the Project Properties binary locations). So, the Visual Studio project's directories are searched and are specific to the selected configuration.

    For symbol files, also search using symbol server paths specified in the Project Properties, Binary/Symbol Search tab in the following notation: srv*C:\localsymbols*http://msdl.microsoft.com/download/symbols and/or provided in Visual Studio Tools > Options > Debugging > Symbols.

  4. Search for binary files in this standard Windows OS system directory:

    • %SYSTEMROOT%\system32\drivers (subdirectories are not searched)

  5. Search for symbol files in these standard Windows OS system directories:

    • All directories specified in the environment variable_NT_SYMBOL_PATH (subdirectories are not searched)
    • srv*%SYSTEMROOT%\symbols (symbol downstream or cache path)
    • %SYSTEMROOT%\symbols\dll (subdirectories are not searched)

Source Search Locations

A limited set of default source locations are used in addition to the locations specified in the Source Search tab. With Intel Advisor, you can use this tab to indicate whether or not the default source locations (listed below) will be searched.

Note

When using the Intel Advisor GUI, you must specify one or more new rows (locations) in the Source Search tab so Intel Advisor tools can find your application's annotations.

The following list describes the order and default locations that are searched. As indicated below, some directory searches examine the specified directory and its subdirectories, while other searches do not examine its subdirectories.

  1. Search for source files in the directories specified in the Project Properties, Source Search tab. With Intel Advisor, you can indicate whether the subdirectories of these directories should be searched.

  2. Search for source files in directories from the collected result that provide an absolute path name.

  3. When using an integrated Visual Studio project, the source directories provided by the Visual Studio project pre-populate the corresponding source directories in the internal representation of the Source Search tab. So, the Visual Studio project's source directories are searched for source files, and they apply to all configurations.

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