Commit: https://reviews.llvm.org/D104803 requires -flto for -fprofile-generate. This causes the current gcc-flag-compatibility.c testcase to fail on AIX. This patch XFAILS the current test case on AIX and adds another testcase that targets AIX specifically with the -flto option.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/Profile/gcc-flag-compatibility.c | ||
---|---|---|
10 | Add in the comment that gcc-flag-compatibility-aix.c is used to do the testing on AIX. |
Comment Actions
Adding comment in gcc-flag-compatibility.c indicating that testing for AIX is done in gcc-flag-compatibility-aix.c as suggested
Add in the comment that gcc-flag-compatibility-aix.c is used to do the testing on AIX.