mirror of
https://github.com/postgres/postgres.git
synced 2026-07-09 09:41:00 -04:00
With address sanitizer's stack-use-after-return check, stack variables are
moved to heap allocations, to allow to detect references to the memory at a
later time. That broke our stack-depth check, which is why we had to disable
detect_stack_use_after_return in CI. Luckily __builtin_frame_address() works
correctly, even under asan, so use that.
We started using __builtin_frame_address() with
|
||
|---|---|---|
| .. | ||
| cmdtag.c | ||
| dest.c | ||
| fastpath.c | ||
| Makefile | ||
| postgres.c | ||
| pquery.c | ||
| utility.c | ||