diff options
author | Arthur Eubanks <aeubanks@google.com> | 2024-02-12 14:41:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-12 13:41:58 -0800 |
commit | aef36ebb3b74c81589885c61b4fc066052dd9498 (patch) | |
tree | ef2bc12ac19128998185d8676f8260e5492f2126 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 61f64d1c237be75bed5d717aec4de0f9df5ab2e7 (diff) | |
download | llvm-aef36ebb3b74c81589885c61b4fc066052dd9498.zip llvm-aef36ebb3b74c81589885c61b4fc066052dd9498.tar.gz llvm-aef36ebb3b74c81589885c61b4fc066052dd9498.tar.bz2 |
[clang] Remove old Linux kernel workaround for ensuring stack space (#81533)
PR #71709 broke the Linux PIE build with `undefined symbol: alloca`
errors. With the newly included `clang/Basic/Builtins.h` in that PR, it
surfaces an issue with a combination of two previous patches.
26670dcba1609574cba5942aff78ff97b567c5f3 added `#undef alloca` so clang
builtins handling of alloca would work under MSVC (unsure if this is
still necessary).
194b6a3b1b1a99cc3c12c466a04320f271ebd8aa added code that calls `alloca`
to workaround a Linux kernel < 4.1 bug. Given that Linux 4.1 was EOL in
2018, it should be ok to remove this workaround.
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions