Visible to Intel only — GUID: GUID-5913001B-FB94-4316-AC40-F67CEB8D1C8C
Visible to Intel only — GUID: GUID-5913001B-FB94-4316-AC40-F67CEB8D1C8C
fprofile-dwo-dir
Specifies the directory where .dwo files should be stored when using options fprofile-sample-generate and gsplit-dwarf. This is an experimental feature.
Syntax
Linux: |
-fprofile-dwo-dir=dir |
Windows: |
/fprofile-dwo-dir:dir |
Arguments
dir |
Is the directory where the DWARF .dwo files should be stored. |
Default
OFF |
The compiler stores .dwo files in the default directory. |
Description
This option specifies the directory where .dwo files should be stored when using options fprofile-sample-generate and gsplit-dwarf. It is an experimental feature.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
Alternate Options
None
Example
The following creates .dwo files and puts them in the directory profile_dwo/t.dwo:
Linux
icpx -c -fprofile-sample-generate -gsplit-dwarf -fprofile-dwo-dir=profile_dwo t.cpp icx -c -fprofile-sample-generate -gsplit-dwarf -fprofile-dwo-dir=profile_dwo t.c
Windows
icx /c /fprofile-sample-generate -gsplit-dwarf /fprofile-dwo-dir:profile_dwo t.cpp