Commit ebc8ab1
committed
Fix stack protector basic test
This is a >= condition, so we need a maximum size of 7 to not
create a stack protector in basic mode.
The reason this still worked is that the alloca type was converted
into an integer (rather than an array). The way these heuristics
are implemented in LLVM is rather questionable and not resilient
to optimization.1 parent 373789b commit ebc8ab1
File tree
1 file changed
+1
-1
lines changed- src/test/assembly/stack-protector
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
0 commit comments