Lexical blocks in DWARF wait for a debugger that needs them

This commit is contained in:
Joseph Ferano 2026-09-25 10:13:30 +07:00
parent 764c5d4561
commit 1e462e06f6

View File

@ -1132,7 +1132,8 @@ Decided 2026-09-25: emit the x86 backend's =.cfi= directives in every build. No
They are correct in every build and free at runtime, and a release build is where They are correct in every build and free at runtime, and a release build is where
a crash would most want them. One =if= in three places. a crash would most want them. One =if= in three places.
** TODO A !DILexicalBlock per Let ** WAIT A !DILexicalBlock per Let
Decided 2026-09-25: waits until Flan is debugged in gdb or lldb; the break buffer, which reads the shadow stack, already answers correctly.
Inside nested =let=s that bind the same name, a debugger still answers with the Inside nested =let=s that bind the same name, a debugger still answers with the
outer one. The disambiguating suffix makes both visible, which is not the same as outer one. The disambiguating suffix makes both visible, which is not the same as
making the answer right. It needs block structure the typed IR does not carry, and making the answer right. It needs block structure the typed IR does not carry, and