Missing llvm_leave_fatal_on_oom() call
Heikki Linnakangas <hlinnaka@iki.fi>
From: Heikki Linnakangas <hlinnaka@iki.fi>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-02-21T14:50:53Z
Lists: pgsql-hackers
Attachments
- fix-fatal-on-oom-leak.patch (text/x-patch) patch
llvm_release_context() calls llvm_enter_fatal_on_oom(), but it never calls llvm_leave_fatal_on_oom(). Isn't that a clear leak? (spotted this while investigating https://www.postgresql.org/message-id/a53cacb0-8835-57d6-31e4-4c5ef196de1a@deepbluecap.com, but it seems unrelated) - Heikki
Commits
-
Fix leak of LLVM "fatal-on-oom" section counter.
- dc0b5841746c 16.0 landed
- 2316ff1ae5a8 11.21 landed
- 162aa47c31a0 12.16 landed
- 59c2a6fe9b65 13.12 landed
- bfb493dbae7e 14.9 landed
- fa96a74a0f76 15.4 landed
- 4f4d73466d71 17.0 landed