diff options
| author | Nick Desaulniers (paternity leave) <nickdesaulniers@users.noreply.github.com> | 2024-05-20 14:05:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-20 14:05:49 -0700 |
| commit | 51ba7a816ccdadf7f943fb30a1933ded72a4c178 (patch) | |
| tree | 7c06f90059355f4087b970e8b56c71e0fc118943 /lldb/test/API/python_api/debugger/TestDebuggerAPI.py | |
| parent | 753f7e814514ddb2bb2fd837549d5958cf0ef343 (diff) | |
[libc][setjmp] disable -ftrivial-auto-var-init=pattern for now (#92796)
This would consistently fail for me locally, to the point where I could not run
ninja libc-unit-tests without ninja libc_setjmp_unittests failing.
Turns out that since I enabled -ftrivial-auto-var-init=pattern in
commit 1d5c16d ("[libc] default enable -ftrivial-auto-var-init=pattern (#78776)")
this has been a problem. Our x86_64 setjmp definition disabled -Wuninitialized,
so we wound up clobbering these registers and instead backing up
0xAAAAAAAAAAAAAAAA rather than the actual register value.
The implemenation should be rewritten entirely. I've proposed three different
ways to do so (linked below). Until we decide which way to go, at least disable
this hardening feature for this function for now so that the unit tests go back
to green.
Link: #87837
Link: #88054
Link: #88157
Fixes: #91164
Diffstat (limited to 'lldb/test/API/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions
