| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Several links in this document referred to `LangImpl4.html` or
`LangImpl7.html`. However, now these pages use two digits, so for these
links to function they need to be modified to `LangImpl04.html`, and so
on -- note the extra `0`.
|
| |
|
|
|
|
| |
Fix sphinx warning over an ambigious reference.
|
|
|
|
|
|
| |
Unorphan the old tutorial and reference every page in the index
explicitly. This should hopefully make Sphinx generate correct
hyperlinks now.
|
|
|
|
| |
Update relative links in Kaleidoscope tutorial.
|
|
|
|
|
|
|
| |
Avoids the need to include TargetMachine.h from various places just for
an enum. Various other enums live here, such as the optimization level,
TLS model, etc. Data suggests that this change probably doesn't matter,
but it seems nice to have anyway.
|
|
|
|
|
|
| |
(Trying to debug an incremental build thing on a bot...)
llvm-svn: 371860
|
|
|
|
|
|
|
|
| |
Now that we've moved to C++14, we no longer need the llvm::make_unique
implementation from STLExtras.h. This patch is a mechanical replacement
of (hopefully) all the llvm::make_unique instances across the monorepo.
llvm-svn: 369013
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Errors fixed:
- GettingStarted: Duplicate explicit target name: "cmake"
- GlobalISel: Unexpected indentation
- LoopTerminology: Explicit markup ends without a blank line; unexpected unindent
- ORCv2: Definition list ends without a blank line; unexpected unindent
- Misc: document isn't included in any toctree
Verified that a clean docs build (`rm -rf docs/ && ninja docs-llvm-html`) passes with no errors. Spot checked the individual pages to make sure they look OK.
Reviewers: thakis, dsanders
Reviewed By: dsanders
Subscribers: arphaman, llvm-commits, lhames, rovka, dsanders, reames
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66183
llvm-svn: 368932
|
|
|
|
|
|
| |
F_{None,Text,Append} are kept for compatibility since r334221.
llvm-svn: 367800
|
|
|
|
|
|
|
|
|
|
| |
The path to the image was outdated.
http://lab.llvm.org:8011/builders/llvm-sphinx-docs/builds/33865/steps/docs-llvm-html/logs/stdio
llvm/docs/tutorial/OCamlLangImpl5.rst:173: WARNING: image file not readable: tutorial/LangImpl05-cfg.png
llvm-svn: 367334
|
|
|
|
| |
llvm-svn: 366530
|
|
|
|
|
|
| |
to the new copy.
llvm-svn: 366529
|
|
|
|
| |
llvm-svn: 366528
|
|
|
|
|
|
|
|
|
|
|
|
| |
In tutorial "8. Kaleidoscope: Compiling to Object Code" a call to
TargetMachine->addPassesToEmitFile(pass, dest, FileType) is missing
nullptr as its 3rd value.
Patch by Sajjad Heydari!
Differential revision: https://reviews.llvm.org/D60369
llvm-svn: 358267
|
|
|
|
| |
llvm-svn: 358156
|
|
|
|
| |
llvm-svn: 358154
|
|
|
|
| |
llvm-svn: 357868
|
|
|
|
| |
llvm-svn: 357867
|
|
|
|
| |
llvm-svn: 357865
|
|
|
|
| |
llvm-svn: 357863
|
|
|
|
|
|
| |
things, aligning with the direction of the WiCT workshop, and Meike Baumgärtner's view of how this should work. The old version of the documentation is unmodified, this is an experiment.
llvm-svn: 357862
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a note about legacy FunctionPassManager to the LLVM tutorial.
It seems to confuse some people, worth adding a warning to the tutorial
to elaborate and suggest using `llvm::legacy::FunctionPassManager` for
now. Not a perfect solution but hopefully will avoid confusion
in the meantime.
Differential Revision: https://reviews.llvm.org/D59258
llvm-svn: 355930
|
|
|
|
|
|
|
|
| |
Patch by Frank He.
Differential Revision: https://reviews.llvm.org/D52166
llvm-svn: 354205
|
|
|
|
| |
llvm-svn: 346727
|
|
|
|
| |
llvm-svn: 346726
|
|
|
|
|
|
|
|
| |
Returning the error to clients provides an opportunity to introduce readers to
the Expected and Error APIs and makes the tutorial more useful as a starting
point for a real JIT class, while only slightly complicating the code.
llvm-svn: 344720
|
|
|
|
| |
llvm-svn: 344712
|
|
|
|
| |
llvm-svn: 344705
|
|
|
|
| |
llvm-svn: 344667
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Just a missing end quote.
Reviewers: lhames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D46136
llvm-svn: 331794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LLVM_ON_WIN32 is set exactly with MSVC and MinGW (but not Cygwin) in
HandleLLVMOptions.cmake, which is where _WIN32 defined too. Just use the
default macro instead of a reinvented one.
See thread "Replacing LLVM_ON_WIN32 with just _WIN32" on llvm-dev and cfe-dev.
No intended behavior change.
This moves over all uses of the macro, but doesn't remove the definition
of it in (llvm-)config.h yet.
llvm-svn: 331127
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes for "lets" references which should be "let's" in the Kaleidoscope
tutorial.
Patch by: Robin Dupret
Differential Revision: https://reviews.llvm.org/D44990
llvm-svn: 328772
|
|
|
|
|
|
|
|
| |
This fixes the compile command of the example in Chapter 2.
Differential Revision: https://reviews.llvm.org/D43196
llvm-svn: 327989
|
|
|
|
|
|
| |
The text will be updated once the ORC API churn dies down.
llvm-svn: 324406
|
|
|
|
|
|
| |
"to to" -> "to"
llvm-svn: 323628
|
|
|
|
|
|
| |
"in in" -> "in", "on on" -> "on" etc.
llvm-svn: 323508
|
|
|
|
|
|
| |
"the the" -> "the"
llvm-svn: 322552
|
|
|
|
| |
llvm-svn: 321214
|
|
|
|
|
|
|
|
| |
Summary: Fix a few typos and update names to match current source.
Differential Revision: https://reviews.llvm.org/D37948
llvm-svn: 313473
|
|
|
|
|
|
| |
API changes.
llvm-svn: 310947
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r274441 introduced Chapter 10 of "Implementing a Language with LLVM" tutorial,
which caused all files in the tutorial to start using two digit numbering. But
many links were not changed and therefore appear to be broken. This patch
addresses described issue.
As a result, following command does not produce any output anymore:
$ grep -nR '<LangImpl[0-9].html>' ./docs/tutorial/
llvm-svn: 307525
|
|
|
|
|
|
| |
By patch zoren here: https://github.com/llvm-mirror/llvm/pull/20
llvm-svn: 296968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many quoted code blocks were not in sync with the actual toy.cpp
files. Improve tutorial text slightly in several places.
Added some step descriptions crucial to avoid crashes (like
InitializeNativeTarget* calls).
Solve/workaround problems with Windows (JIT'ed method not found, using
custom and standard library functions from host process).
Patch by: Moritz Kroll <moritz.kroll@gmx.de>
Differential Revision: https://reviews.llvm.org/D29864
llvm-svn: 294870
|
|
|
|
|
|
|
| |
The dump() functions are meant to be used in a debugger, code should
typically use something like print(errs());
llvm-svn: 293365
|
|
|
|
|
|
| |
Patch by: Alfred Perlstein <alfred@FreeBSD.org>
llvm-svn: 281297
|
|
|
|
| |
llvm-svn: 279943
|
|
|
|
| |
llvm-svn: 278033
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces RuntimeDyld::SymbolInfo with JITSymbol: A symbol class
that is capable of lazy materialization (i.e. the symbol definition needn't be
emitted until the address is requested). This can be used to support common
and weak symbols in the JIT (though this is not implemented in this patch).
For consistency, RuntimeDyld::SymbolResolver is renamed to JITSymbolResolver.
For space efficiency a new class, JITEvaluatedSymbol, is introduced that
behaves like the old RuntimeDyld::SymbolInfo - i.e. it is just a pair of an
address and symbol flags. Instances of JITEvaluatedSymbol can be used in
symbol-tables to avoid paying the space cost of the materializer.
llvm-svn: 277386
|
|
|
|
|
|
|
|
|
|
|
| |
Add an overview of stubs and compile callbacks before the discussion of the
source changes.
-- This line, and those below, will be ignored--
M docs/tutorial/BuildingAJIT3.rst
llvm-svn: 275933
|