aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Fuzzer/FuzzerExtFunctions.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerExtFunctions.h')
-rw-r--r--llvm/lib/Fuzzer/FuzzerExtFunctions.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerExtFunctions.h b/llvm/lib/Fuzzer/FuzzerExtFunctions.h
index 95b5240..2ec86cb 100644
--- a/llvm/lib/Fuzzer/FuzzerExtFunctions.h
+++ b/llvm/lib/Fuzzer/FuzzerExtFunctions.h
@@ -17,8 +17,9 @@
namespace fuzzer {
struct ExternalFunctions {
- // Initialize function pointers. Functions that are not available
- // will be set to nullptr.
+ // Initialize function pointers. Functions that are not available will be set
+ // to nullptr. Do not call this constructor before ``main()`` has been
+ // entered.
ExternalFunctions();
#define EXT_FUNC(NAME, RETURN_TYPE, FUNC_SIG, WARN) \