aboutsummaryrefslogtreecommitdiff
path: root/src/parser.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-03-26 21:07:07 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-03-26 21:07:07 -0400
commita32b5929ccf8cbf79396d8924097a1a911985dac (patch)
treec45c7413d1fb6eab9ba102f3a0b7d48df1738164 /src/parser.cpp
parent8aeea72654b2efbd068abe207b42170c4d27ee03 (diff)
downloadzig-a32b5929ccf8cbf79396d8924097a1a911985dac.tar.gz
zig-a32b5929ccf8cbf79396d8924097a1a911985dac.zip
add stack protector safety when linking libc
* introduce zigrt file. it contains only weak symbols so that multiple instances can be merged. it contains __zig_panic so that multiple .o files can call the same panic function. * remove `@setFnVisible` builtin and add @setGlobalLinkage builtin which is more powerful * add `@panic` builtin function. * fix collision of symbols with extern prototypes and internal function names * add stack protector safety when linking against libc. To add the safety mechanism without libc requires implementing Thread Local Storage. See #276
Diffstat (limited to 'src/parser.cpp')
0 files changed, 0 insertions, 0 deletions