[llvm-dev] LLVM header files for Kaleidoscope tutorial (original) (raw)

Jack Orenstein via llvm-dev llvm-dev at lists.llvm.org
Sat Jan 12 13:35:17 PST 2019


Hmm. It's right there. I don't know how I missed that. Thank you!

On Sat, Jan 12, 2019 at 4:29 PM David Blaikie <dblaikie at gmail.com> wrote:

At the bottom of every tutorial page, I think there's a full code listing with all the required includes, etc? https://llvm.org/docs/tutorial/LangImpl03.html#full-code-listing

On Sun, Jan 13, 2019, 2:45 AM Jack Orenstein via llvm-dev < llvm-dev at lists.llvm.org wrote: I'm going through the Kaleidoscope tutorial, adding the codegen() functions: https://llvm.org/docs/tutorial/LangImpl03.html.

I cannot find any discussion of header files to include, (other than the include of llvm/ADT/STLExtras.h in the lexer/parser code), and the compilation is failing due to several undefined symbols: LogErrorV, Value, LLVMContext, APFloat, and others. I've been hunting down the header files for each symbol, but I must be missing something. What am I doing wrong? Jack Orenstein


LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190112/cd6c06d1/attachment.html>



More information about the llvm-dev mailing list