aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorWei Mi <wmi@google.com>2017-09-08 16:44:52 +0000
committerWei Mi <wmi@google.com>2017-09-08 16:44:52 +0000
commit5d84d9b35ccae7fc17acc08a15658bbc2884555e (patch)
tree81ce263c07bacfb7531ae7353d723b17d724a166 /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parente85a7e7cd5aa8471d4bd93605162f911c2cbf947 (diff)
downloadllvm-5d84d9b35ccae7fc17acc08a15658bbc2884555e.zip
llvm-5d84d9b35ccae7fc17acc08a15658bbc2884555e.tar.gz
llvm-5d84d9b35ccae7fc17acc08a15658bbc2884555e.tar.bz2
Fix a bug for rL312641.
rL312641 Allowed llvm.memcpy/memset/memmove to be tail calls when parent function return the intrinsics's first argument. However on arm-none-eabi platform, llvm.memcpy will be expanded to __aeabi_memcpy which doesn't have return value. The fix is to check the libcall name after expansion to match "memcpy/memset/memmove" before allowing those intrinsic to be tail calls. llvm-svn: 312799
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions