Commit 0939969
committed
[cmake] Warn if LLVM_PROFDATA_FILE was specified but wasn't found
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.1 parent 9c67ae8 commit 0939969
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
| 1243 | + | |
| 1244 | + | |
1243 | 1245 | | |
1244 | 1246 | | |
1245 | 1247 | | |
| |||
0 commit comments