Specifies the directory where .dwo files should be stored when using options fprofile-sample-generate and gsplit-dwarf. This is an experimental feature.
Linux: | -fprofile-dwo-dir=dir |
Windows: | /fprofile-dwo-dir:dir |
dir |
Is the directory where the DWARF .dwo files should be stored. |
OFF |
The compiler stores .dwo files in the default directory. |
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.
None
The following examples create a.dwo, b.dwo, and c.dwo files in the profile_dwo directory. The directory will be created if it doesn't already exist.
Linux
icpx -c -fprofile-sample-generate -gsplit-dwarf -fprofile-dwo-dir=profile_dwo a.cpp icx -c -fprofile-sample-generate -gsplit-dwarf -fprofile-dwo-dir=profile_dwo b.c
Windows
icx /c /fprofile-sample-generate -gsplit-dwarf /fprofile-dwo-dir:profile_dwo c.cpp