diff options
author | Martin Storsjö <martin@martin.st> | 2025-05-14 22:04:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-14 22:04:58 +0300 |
commit | 61c1f6d7e84f1213bd727437a7ec5b7fc5eaf121 (patch) | |
tree | 57797333095ad97ea5962e927b89538ee2eb00e8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8c435886aaee7619314edac9b142ef6fb2dd935f (diff) | |
download | llvm-61c1f6d7e84f1213bd727437a7ec5b7fc5eaf121.zip llvm-61c1f6d7e84f1213bd727437a7ec5b7fc5eaf121.tar.gz llvm-61c1f6d7e84f1213bd727437a7ec5b7fc5eaf121.tar.bz2 |
[cmake] Warn if LLVM_PROFDATA_FILE was specified but wasn't found (#139882)
Ideally we should perhaps even error out here; if the user requested
building with profiling info, but that profile wasn't found, it seems
like the build configuration is subtly broken, and I would expect the
user to want to know about it. But that may be a too disruptive change,
as users may very well rely on being able to build things in such a
setup anyway thanks to Hyrum's Law.
To make things clearer, at least print a warning in this case.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions