summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClement Courbet <courbet@google.com>2019-03-20 16:14:59 +0000
committerClement Courbet <courbet@google.com>2019-03-20 16:14:59 +0000
commit1cb64302289221d10f13c0f77199a54d0b0d51c7 (patch)
tree955b166b51b746c7ce0893e8d24af31e107f869d
parent9920b98c716fade1176082d9788a345bcf2749a9 (diff)
downloadbcm5719-llvm-1cb64302289221d10f13c0f77199a54d0b0d51c7.tar.gz
bcm5719-llvm-1cb64302289221d10f13c0f77199a54d0b0d51c7.zip
Fix sanitizer failures for 356550.
Mark bcmp as having optimized codegen, so that asan can detect it and mark users as nobuiltin. llvm-svn: 356568
-rw-r--r--llvm/include/llvm/Analysis/TargetLibraryInfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Analysis/TargetLibraryInfo.h b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
index fc6811e8862..a40e04404ff 100644
--- a/llvm/include/llvm/Analysis/TargetLibraryInfo.h
+++ b/llvm/include/llvm/Analysis/TargetLibraryInfo.h
@@ -280,9 +280,9 @@ public:
case LibFunc_trunc: case LibFunc_truncf: case LibFunc_truncl:
case LibFunc_log2: case LibFunc_log2f: case LibFunc_log2l:
case LibFunc_exp2: case LibFunc_exp2f: case LibFunc_exp2l:
- case LibFunc_memcmp: case LibFunc_strcmp: case LibFunc_strcpy:
- case LibFunc_stpcpy: case LibFunc_strlen: case LibFunc_strnlen:
- case LibFunc_memchr: case LibFunc_mempcpy:
+ case LibFunc_memcmp: case LibFunc_bcmp: case LibFunc_strcmp:
+ case LibFunc_strcpy: case LibFunc_stpcpy: case LibFunc_strlen:
+ case LibFunc_strnlen: case LibFunc_memchr: case LibFunc_mempcpy:
return true;
}
return false;
OpenPOWER on IntegriCloud