llvm-6502/lib
Bill Wendling f675b3c644 Move registering the execution of a basic block to the beginning rather than the end.
There are situations which can affect the correctness (or at least expectation)
of the gcov output. For instance, if a call to __gcov_flush() occurs within a
block before the execution count is registered and then the program aborts in
some way, then that block will not be marked as executed. This is not normally
what the user expects.

If we move the code that's registering when a block is executed to the
beginning, we can catch these types of situations.

PR16893


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188849 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-20 23:52:00 +00:00
..
Analysis Add some constantness. 2013-08-20 23:04:15 +00:00
AsmParser
Bitcode
CodeGen [SystemZ] Use SRST to optimize memchr 2013-08-20 09:38:48 +00:00
DebugInfo llvm-dwarfdump: Do not include address offsets for attributes, only for tags 2013-08-19 03:36:23 +00:00
ExecutionEngine memcmp is not a valid way to compare structs with padding in them. 2013-08-20 09:27:31 +00:00
IR Introduce non-const overloads for GlobalAlias::{get,resolve}AliasedGlobal. 2013-08-19 23:13:33 +00:00
IRReader
Linker
MC Fix style issues in AsmParser.cpp 2013-08-20 13:33:18 +00:00
Object
Option
Support Go through the really awkward dance required to delete the memory 2013-08-18 01:20:32 +00:00
TableGen Add an error check for a typo I accidentally made in a td file that caused an assert to fire. 2013-08-20 04:22:09 +00:00
Target [mips] Add support for mfhc1 and mthc1. 2013-08-20 23:47:25 +00:00
Transforms Move registering the execution of a basic block to the beginning rather than the end. 2013-08-20 23:52:00 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile