From: Lang Hames Date: Fri, 23 Dec 2022 09:08:50 +0000 (-0800) Subject: [examples] Direct HowToUseJIT readers to HowToUseLLJIT instead. X-Git-Tag: upstream/17.0.6~22732 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4e3457fb752d675c58fb14a3d8ed03fe218b6b0;p=platform%2Fupstream%2Fllvm.git [examples] Direct HowToUseJIT readers to HowToUseLLJIT instead. HowToUseJIT describes the older APIs. We want to discourage their use in new projects. --- 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. //