summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetObjectFile.cpp
diff options
context:
space:
mode:
authorYuchen Wu <yuchenericwu@hotmail.com>2013-11-22 23:07:45 +0000
committerYuchen Wu <yuchenericwu@hotmail.com>2013-11-22 23:07:45 +0000
commit695de7692c26f5cb57eb67edb6b9ccf6d0ddafa2 (patch)
tree62841e95639d90165e0d3caf985d5f5266826e11 /lib/Target/XCore/XCoreTargetObjectFile.cpp
parente6c749a3ec4ac77f1384834d4871bb5a588d40df (diff)
downloadllvm-695de7692c26f5cb57eb67edb6b9ccf6d0ddafa2.tar.gz
llvm-695de7692c26f5cb57eb67edb6b9ccf6d0ddafa2.tar.bz2
llvm-695de7692c26f5cb57eb67edb6b9ccf6d0ddafa2.tar.xz
llvm-cov: Split entry blocks in GCNOProfiling.cpp.
gcov expects every function to contain an entry block that unconditionally branches into the next block. clang does not implement basic blocks in this manner, so gcov did not output correct branch info if the entry block branched to multiple blocks. This change splits every function's entry block into an empty block and a block with the rest of the instructions. The instrumentation code will take care of the rest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195513 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions