projects
/
apple
/
ld64.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ld64-409.12.tar.gz
[apple/ld64.git]
/
unit-tests
/
test-cases
/
llvm-integration
/
a17.c
diff --git
a/unit-tests/test-cases/llvm-integration/a17.c
b/unit-tests/test-cases/llvm-integration/a17.c
index 3cd06fd69b9c370dd971d7cef1c77bf3dd1c759e..1b8d4bf3eeecddc5f425a8615a64bdc9e570ecae 100644
(file)
--- a/
unit-tests/test-cases/llvm-integration/a17.c
+++ b/
unit-tests/test-cases/llvm-integration/a17.c
@@
-2,3
+2,11
@@
int a = 0;
int func_a() { return a; }
+// add code that will cause stack canary
+extern void fill(char*);
+void test()
+{
+ char buf[100];
+ fill(buf);
+}
+