mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Add a __builtin___memset_chk test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2d69724938
commit
cb2480d0a8
6
test/FrontendC/memset_chk.c
Normal file
6
test/FrontendC/memset_chk.c
Normal file
@ -0,0 +1,6 @@
|
||||
// RUN: %llvmgcc -S -emit-llvm -O1 %s -o - | grep call | not grep memset_chk
|
||||
// rdar://6728562
|
||||
|
||||
void t(void *ptr) {
|
||||
__builtin___memset_chk(ptr, 0, 32, __builtin_object_size (ptr, 0));
|
||||
}
|
Loading…
Reference in New Issue
Block a user