forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit60596f1
committed
jit: Supply LLVMGlobalGetValueType() for LLVM < 8.
Commit37d5bab used this C API function while adding support for LLVM16 and opaque pointers, but it's not available in LLVM 7 and older.Provide it in our own llvmjit_wrap.cpp. It just calls a C++ functionthat pre-dates LLVM 3.9, our minimum target.Back-patch to 12, like37d5bab.Discussion:https://postgr.es/m/CA%2BhUKGKnLnJnWrkr%3D4mSGhE5FuTK55FY15uULR7%3Dzzc%3DwX4Nqw%40mail.gmail.com1 parent74d19ec commit60596f1
2 files changed
+12
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
88 | 88 |
| |
89 | 89 |
| |
90 | 90 |
| |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
144 | 148 |
| |
145 | 149 |
| |
146 | 150 |
| |
|
0 commit comments
Comments
(0)