aboutsummaryrefslogtreecommitdiff
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/examples/HowToUseJIT/HowToUseJIT.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
index f7ec269..5acaf38 100644
--- a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
+++ b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
@@ -6,6 +6,10 @@
//
//===----------------------------------------------------------------------===//
//
+// WARNING: This example demonstrates how to use LLVM's older ExecutionEngine
+// JIT APIs. The newer LLJIT APIs should be preferred for new
+// projects. See llvm/examples/HowToUseLLJIT.
+//
// This small program provides an example of how to quickly build a small
// module with two functions and execute it with the JIT.
//