The code fails when `--compare_function` us used.
Open
- Dominant language
- C++
- Stars
- 619
- Forks
- 127
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/google/autofdo/blob/d4daf249aad2531ac3c96d2a3c46cb75c00bfcb2/profile_diff.cc#L30
The code assumes that there are only three command line arguments. Currently, it aborts when `--compare_function` option is used. In general not a good idea to hard code this in this way.
Contributor guide
Assessment
This issue has not been assessed yet.