model-writtenrun 5788 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Thomas Munro opened the thread with a seawasp build failure caused by LLVM 14 renaming hasFnAttribute, proposing an inline compatibility macro tested with LLVM 13 and 14 in #1.
- Tom Lane questioned the API churn in #2 and later supported a temporary HEAD-only fix in #4, while Alvaro Herrera proposed centralizing compatibility code in #5.
- Andres Freund explained LLVM's limited API stability guarantees and supplied an alternative attribute lookup in #6, questioning whether a separate compatibility layer was worthwhile for isolated cases.
- Further LLVM changes invalidated that alternative and broke another attribute call, so Thomas retained the macro approach and added conditional addFnAttr support in #7, reporting tests with LLVM 7, 9, 13 and 14.
- Thomas committed #7 unchanged as e6a7600202 and announced the landing in #8, deferring backpatching while LLVM's API continued changing.
- Thomas anticipated another seawasp failure when LLVM changed error-handler arguments from std::string to const char * and submitted a separate fix in #9; Andres requested compatibility wrappers around shared implementations in #10, which Thomas supplied in #11.
- When seawasp encountered those changes months later, Thomas retested the fix and added the missing <new> include in #12; he also reported new opaque-pointer-related deprecation warnings that he had not investigated.
- After the last thread message, 807fee1a39 landed #12 unchanged on master, completing both submitted fixes while leaving the deprecation warnings and consolidated backpatching for later.