llvm-6502/lib/Transforms/Instrumentation
Nick Lewycky 7a2ba2fbe4 Only read *predecessor once so as to fix a theoretical issue where it changes
between two reads (threading).

Fix an off-by-one in the indirect counter table that I meant to revert after an
earlier experiment. Whoops!

Implement GCOV_PREFIX. Doesn't handle GCOV_PREFIX_STRIP yet.

Fix an off-by-one in string emission. Extra whoops!

Tolerate DISubprograms that have null Function*'s attached to them. I don't yet
understand what this means, but it happens when you have a global static with
a non-trivial constructor/destructor.

Fix a crash on switch statements with a single successor (default-only).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130443 91177308-0d34-0410-b5e6-96231b3b80d8
2011-04-28 21:35:49 +00:00
..
CMakeLists.txt Fix cmake build. 2011-04-16 02:06:46 +00:00
EdgeProfiling.cpp Implementation of path profiling. 2011-01-29 01:09:53 +00:00
GCOVProfiling.cpp Only read *predecessor once so as to fix a theoretical issue where it changes 2011-04-28 21:35:49 +00:00
Instrumentation.cpp Rename LineProfiling to GCOVProfiling to more accurately represent what it 2011-04-16 01:20:23 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MaximumSpanningTree.h Fix typos. Adjust some whitespace for style. No functionality change. 2011-04-05 20:39:27 +00:00
OptimalEdgeProfiling.cpp Remove unused STL header includes. 2011-04-23 19:53:52 +00:00
PathProfiling.cpp Remove unused STL header includes. 2011-04-23 19:53:52 +00:00
ProfilingUtils.cpp Consider ConstantAggregateZero as well as ConstantArray/Struct. 2011-04-12 01:02:45 +00:00
ProfilingUtils.h Add a function for profiling to run at shutdown. Unlike the existing API, this 2011-04-08 22:19:52 +00:00