Improve the warning when building with -fprofile-instr-use and a file appears not to have been profiled at all. This keys on whether a function is defined in the main file or not to avoid false negatives when one includes a header with functions that have been profiled. llvm-svn: 211760
4 lines
47 B
C
4 lines
47 B
C
void function_in_header(int i) {
|
|
if (i) {}
|
|
}
|