commit | a2f87579869269c8e65354edd6e4a1c0848d4186 | [log] [tgz] |
---|---|---|
author | Aiden Grossman <agrossman154@yahoo.com> | Mon Jun 27 23:16:42 2022 |
committer | Matthias Braun <matthiasb@fb.com> | Mon Jun 27 23:17:56 2022 |
tree | 234c4d21bfd627276d2f330bab191e6693fb2040 | |
parent | 75d07279a024184f0eea1bfcb8fe975cff30dd5a [diff] |
[CMake][SingleSource] Fix compile with profile generation Currently, when compiling with the CMake flag TEST_SUITE_PROFILE_GENERATE set to ON, compare-fp-3.c fails to compile as clang tries to insert instrumentation on the functions that are supposed to get optimized out. This commit fixes this by adding references to these functions when profile generation is turned on so that the test suite builds without linking errors. Differential Revision: https://reviews.llvm.org/D128225