forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb1c1b7a
committed
jit: Don't inline functions that access thread-locals.
Code inlined by LLVM can crash or fail with "Relocation type notimplemented yet!" if it tries to access thread local variables. Don'tinline such code.Back-patch to 11, where LLVM arrived. Bug #16696.Author: Dmitry Marakasov <amdmi3@amdmi3.ru>Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/16696-29d944a33801fbfe@postgresql.org1 parent227c4e5 commitb1c1b7a
1 file changed
+11
-0
lines changedLines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
608 | 608 |
| |
609 | 609 |
| |
610 | 610 |
| |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
611 | 622 |
| |
612 | 623 |
| |
613 | 624 |
| |
|
0 commit comments
Comments
(0)