Rename everything to follow LLVM style ... I think.
authorNick Lewycky <nicholas@mxc.ca>
Tue, 26 Apr 2011 03:54:16 +0000 (03:54 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 26 Apr 2011 03:54:16 +0000 (03:54 +0000)
commit1790c9cbb6714e81eab1412909a2320acaecc43b
tree457ac681b041c21814bdd1b96e884a60a5f6c5db
parentd88cac0a6e908a366f403b37725e765604bc15d3
Rename everything to follow LLVM style ... I think.

Add support for switch and indirectbr edges. This works by densely numbering
all blocks which have such terminators, and then separately numbering the
possible successors. The predecessors write down a number, the successor knows
its own number (as a ConstantInt) and sends that and the pointer to the number
the predecessor wrote down to the runtime, who looks up the counter in a
per-function table.

Coverage data should now be functional, but I haven't tested it on anything
other than my 2-file synthetic test program for coverage.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130186 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/GCOVProfiling.cpp
runtime/libprofile/GCDAProfiling.c
runtime/libprofile/libprofile.exports