summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/memcmp_test.cc
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2019-02-26 18:28:15 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2019-02-26 18:28:15 +0000
commit443e00a51bb918dcc2a4369c65808fe02dd43e1c (patch)
tree4668ccc2561d266b20c39bdd165ac2e21a1fa815 /compiler-rt/test/asan/TestCases/memcmp_test.cc
parent9dada83d6c533376b919eaf93cea99772f180814 (diff)
downloadbcm5719-llvm-443e00a51bb918dcc2a4369c65808fe02dd43e1c.tar.gz
bcm5719-llvm-443e00a51bb918dcc2a4369c65808fe02dd43e1c.zip
Revert "[compiler-rt] Intercept the bcmp() function."
This reverts commits r354851, 354852, 354853 and r354888. They were causing build failures on the android sanitizer bot. llvm-svn: 354906
Diffstat (limited to 'compiler-rt/test/asan/TestCases/memcmp_test.cc')
-rw-r--r--compiler-rt/test/asan/TestCases/memcmp_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/TestCases/memcmp_test.cc b/compiler-rt/test/asan/TestCases/memcmp_test.cc
index e666b6d162b..0dd9820f52a 100644
--- a/compiler-rt/test/asan/TestCases/memcmp_test.cc
+++ b/compiler-rt/test/asan/TestCases/memcmp_test.cc
@@ -11,7 +11,7 @@ int main(int argc, char **argv) {
char a2[] = {1, static_cast<char>(2*argc), 3, 4};
int res = memcmp(a1, a2, 4 + argc); // BOOM
// CHECK: AddressSanitizer: stack-buffer-overflow
- // CHECK: {{#1.*memcmp}}
- // CHECK: {{#2.*main}}
+ // CHECK: {{#0.*memcmp}}
+ // CHECK: {{#1.*main}}
return res;
}
OpenPOWER on IntegriCloud