LLVM backend for 6502
Go to file
Nick Lewycky 93b68b20d4 Add support for line profiling. Very work-in-progress.
Use debug info in the IR to find the directory/file:line:col. Each time that location changes, bump a counter.

Unlike the existing profiling system, we don't try to look at argv[], and thusly don't require main() to be present in the IR. This matches GCC's technique where you specify the profiling flag when producing each .o file.

The runtime library is minimal, currently just calling printf at program shutdown time. The API is designed to make it possible to emit GCOV data later on.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129340 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-12 01:06:09 +00:00
autoconf Check that the AsmParser exists for the native target to enable initialization 2011-03-14 22:12:35 +00:00
bindings Fix compiling the ocaml kaleidoscope tutorials 2011-02-09 18:32:02 +00:00
cmake CMake: remove some unnecesary code and ToDos. 2011-04-11 14:52:39 +00:00
docs docs/CommandGuide/index.html: Fix CSS url to relative. 2011-04-11 03:27:38 +00:00
examples Get rid of useless comment; if a file uses functions from a given header, 2011-04-11 20:16:05 +00:00
include Add support for line profiling. Very work-in-progress. 2011-04-12 01:06:09 +00:00
lib Add support for line profiling. Very work-in-progress. 2011-04-12 01:06:09 +00:00
projects
runtime Add support for line profiling. Very work-in-progress. 2011-04-12 01:06:09 +00:00
test Add one test case (svc). 2011-04-12 00:21:48 +00:00
tools Tidy up a bit now that we're using the MemoryManager interface. 2011-04-12 00:23:32 +00:00
unittests Don't include Operator.h from InstrTypes.h. 2011-04-11 09:35:34 +00:00
utils Thumb disassembler was erroneously rejecting "blx sp" instruction. 2011-04-11 23:33:30 +00:00
website
.gitignore
build-for-llvm-top.sh
CMakeLists.txt Supports building with a list of targets that does not contain 2011-03-23 17:42:13 +00:00
configure Check that the AsmParser exists for the native target to enable initialization 2011-03-14 22:12:35 +00:00
CREDITS.TXT Another git svn dcommit test. This time let's hope it doesn't kill my repo. 2010-12-10 14:45:10 +00:00
LICENSE.TXT 2010 is upon us. 2010-01-09 18:40:31 +00:00
llvm.spec.in
Makefile build: Add support for a SHOW_DIAGNOSTICS build variable. 2011-04-11 22:37:39 +00:00
Makefile.common
Makefile.config.in autoconf: Add --disable-embed-stdcxx to suppress linking libstdc++.a into llvm.dll with --enable-shared on Cygming. 2010-12-29 03:59:14 +00:00
Makefile.rules build: Add support for a SHOW_DIAGNOSTICS build variable. 2011-04-11 22:37:39 +00:00
ModuleInfo.txt Remove trailing space. This is just an excuse to poke the 2010-10-05 20:32:15 +00:00
README.txt Test commit. 2011-02-11 19:11:57 +00:00

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.

If you're writing a package for LLVM, see docs/Packaging.html for our
suggestions.