- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm unable to get program guided optimization to work with the latest C+ compiler release.
llvm-prof fails with the following error:
Instrumenting project 'project'...
Executing 'project'
Merging data...
Executing 'llvm-profdata.exe'
Error: C:\Program Files (x86)\Intel\oneAPI\compiler\2021.2.0\windows\bin\llvm-profdata.exe returned error code 1
warning: project.profraw: Unsupported instrumentation profile format version
error: No profiles could be merged.
Any ideas?
I've tried to replace llvm-profdata with LLVM latest version, and 11.0 without success.
Thanks for your help!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adam,
Thanks for reaching out to us.
I could successfully use program guided optimization to work with latest C++ compiler release.
Please elaborate the steps you followed to achieve program guided optimization and provide a small reproducer if possible.
Alternatively, you can follow the steps provided in the below links:
Let me know if issue persists.
Regards,
Arpita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arpita,
Thanks for your suggestion. I was able to get PGO to work with the command line options once I switched to the C++ classic compiler.
Regards,
Adam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adam,
Its good to know that your issue is resolved. Can I go ahead and close this thread?
Regards,
Arpita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Adam,
Thanks for the confirmation. If you need any additional information, please submit a new question as this thread will no longer be monitored.
Regards,
Arpita

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page