llvm-6502/examples/Kaleidoscope
Duncan P. N. Exon Smith cbfbb3ee4c DI/Verifier: Fix argument bitrot in DILocalVariable
Add a verifier check that `DILocalVariable`s of tag
`DW_TAG_arg_variable` always have a non-zero 'arg:' field, and those of
tag `DW_TAG_auto_variable` always have a zero 'arg:' field.  These are
the only configurations that are properly understood by the backend.

(Also, fix the bad examples in LangRef and test/Assembler, and fix the
bug in Kaleidoscope Ch8.)

A large number of testcases seem to have bitrotted their way forward
from some ancient version of the debug info hierarchy that didn't have
`arg:` parameters.  If you have out-of-tree testcases that start failing
in the verifier and you don't care enough to get the `arg:` right, you
may have some luck just calling:

    sed -e 's/, arg: 0/, arg: 1/'

or some such, but I hand-updated the ones in tree.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243183 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-24 23:59:25 +00:00
..
Chapter2 cmake: Add Kaleidoscope target 2015-01-06 23:39:37 +00:00
Chapter3 Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
Chapter4 Fix Kaleidoscope tuto: ExecutionEngine->getDataLayout() returns a ref 2015-07-16 16:47:18 +00:00
Chapter5 Fix Kaleidoscope tuto: ExecutionEngine->getDataLayout() returns a ref 2015-07-16 16:47:18 +00:00
Chapter6 Fix Kaleidoscope tuto: ExecutionEngine->getDataLayout() returns a ref 2015-07-16 16:47:18 +00:00
Chapter7 Fix Kaleidoscope tuto: ExecutionEngine->getDataLayout() returns a ref 2015-07-16 16:47:18 +00:00
Chapter8 DI/Verifier: Fix argument bitrot in DILocalVariable 2015-07-24 23:59:25 +00:00
MCJIT [Kaleidoscope] Fix incorrect use of reinterpret_cast. 2015-04-22 20:58:34 +00:00
Orc Remove access to the DataLayout in the TargetMachine 2015-07-24 16:04:22 +00:00
CMakeLists.txt Add CMake build support for Orc examples (& fix some clang -Werror build 2015-02-08 07:20:04 +00:00
Makefile Add Chapter 8 to the Kaleidoscope tutorial. This chapter adds 2014-12-08 18:00:47 +00:00