diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-01-11 12:23:00 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-02-09 16:57:56 -0300 |
commit | f3e5c7262e77ca84bcef60fe20a3dc70eae12d5e (patch) | |
tree | 4f6b9857e0f34665d4b3a3b8536165a26f296327 /posix/Depend | |
parent | f0908ba1189ac0f74652736780d8ca5e0ea6a927 (diff) | |
download | glibc-f3e5c7262e77ca84bcef60fe20a3dc70eae12d5e.tar.gz glibc-f3e5c7262e77ca84bcef60fe20a3dc70eae12d5e.tar.xz glibc-f3e5c7262e77ca84bcef60fe20a3dc70eae12d5e.zip |
regexec: remove alloca usage in build_trtable
It syncs with gnulib version 1731fef3d. On build_trtable prevent inlining, so that it doesn't bloat the caller's stack and use auto variables instead of alloca/malloc. After these changes, build_trtable's total stack allocation is only 20 KiB on a 64-bit machine, and this is less than glibc's 64 KiB cutoff so there's little point to using alloca to shrink it. Checked on x86_64-linux-gnu.
Diffstat (limited to 'posix/Depend')
0 files changed, 0 insertions, 0 deletions