Files
swift-mirror/lib/IRGen/SwiftTargetInfo.h
Andrew Trick e7cbf1d8ba Add SWIFT_ABI_DEFAULT_REFERENCE_POISON_DEBUG_VALUE
Poison sentinel value recognized by LLDB as a former reference to a
potentially deinitialized object. It uses no spare bits and cannot point to
readable memory.

This is not ABI per-se but does stay in-sync with LLDB. If it becomes
out-of-sync, then users won't see a friendly diagnostic when
inspecting references past their lifetime.
2021-03-12 19:32:55 -08:00

4.2 KiB