llvm-project/llvm/docs/tutorial
Jeffrey Yasskin 091217be6f Kill ModuleProvider and ghost linkage by inverting the relationship between
Modules and ModuleProviders. Because the "ModuleProvider" simply materializes
GlobalValues now, and doesn't provide modules, it's renamed to
"GVMaterializer". Code that used to need a ModuleProvider to materialize
Functions can now materialize the Functions directly. Functions no longer use a
magic linkage to record that they're materializable; they simply ask the
GVMaterializer.

Because the C ABI must never change, we can't remove LLVMModuleProviderRef or
the functions that refer to it. Instead, because Module now exposes the same
functionality ModuleProvider used to, we store a Module* in any
LLVMModuleProviderRef and translate in the wrapper methods.  The bindings to
other languages still use the ModuleProvider concept.  It would probably be
worth some time to update them to follow the C++ more closely, but I don't
intend to do it.

Fixes http://llvm.org/PR5737 and http://llvm.org/PR5735.

llvm-svn: 94686
2010-01-27 20:34:15 +00:00
..
LangImpl1.html Test commit (removed trailing whitespace) 2008-03-26 00:38:56 +00:00
LangImpl2.html Sync c++ kaleidoscope tutorial with test. 2009-09-22 21:14:49 +00:00
LangImpl3.html Documentation: Perform automated correction of common typos. 2009-10-12 14:46:08 +00:00
LangImpl4.html Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
LangImpl5-cfg.png Add the first half of chapter 5: if/then/else. 2007-10-31 06:30:21 +00:00
LangImpl5.html Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
LangImpl6.html Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
LangImpl7.html Kill ModuleProvider and ghost linkage by inverting the relationship between 2010-01-27 20:34:15 +00:00
LangImpl8.html many edits, patch by Kelly Wilson! 2007-11-15 04:51:31 +00:00
Makefile Tweak build system to allow for installing the tutorial and uninstalling the docs. 2008-03-30 20:32:18 +00:00
OCamlLangImpl1.html fix validator errors 2009-03-11 20:04:08 +00:00
OCamlLangImpl2.html Fix some documentation for the tutorial. 2008-03-30 19:14:31 +00:00
OCamlLangImpl3.html Documentation: Perform automated correction of common typos. 2009-10-12 14:46:08 +00:00
OCamlLangImpl4.html Change the JIT to compile eagerly by default as agreed in 2009-10-27 20:30:28 +00:00
OCamlLangImpl5.html Expose initializing the native target for the execution engine. 2009-09-14 21:54:32 +00:00
OCamlLangImpl6.html Expose initializing the native target for the execution engine. 2009-09-14 21:54:32 +00:00
OCamlLangImpl7.html Expose initializing the native target for the execution engine. 2009-09-14 21:54:32 +00:00
index.html Remove the 'simple jit' tutorial as it wasn't really being maintained and its 2009-11-30 04:23:17 +00:00