aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorTom Stellard <tstellar@redhat.com>2024-04-12 15:10:04 -0700
committerGitHub <noreply@github.com>2024-04-12 15:10:04 -0700
commit0d2bb7f017f13ceae793fab7d83d3e67e8d8d8f8 (patch)
treeb40cddbcb7cb442aaf4b5f1547727b4579facbe4 /clang/lib/Basic/Module.cpp
parent03c393db1821ef4c362c4c228492c6fb03f8876f (diff)
downloadllvm-0d2bb7f017f13ceae793fab7d83d3e67e8d8d8f8.zip
llvm-0d2bb7f017f13ceae793fab7d83d3e67e8d8d8f8.tar.gz
llvm-0d2bb7f017f13ceae793fab7d83d3e67e8d8d8f8.tar.bz2
[CMake][Release] Disable PGO (#88465)
Running the test-release.sh script with PGO enabled causes build errors like: ld.lld: error: Function Import: link error: linking module flags 'ProfileSummary': IDs have conflicting values I believe this a build system bug due to the PGO profile data being generated unconditionally. If you run `ninja check-all` and then `ninja install` like we do in test-release.sh, then the profile data is regenerated during `ninja install` and some of the clang tools which are not test dependencies get build during the ninja install step with different profile data. When these tools link against the LLVM libraries, like libSupport, we end up with these errors.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions