... |
... |
@@ -1606,11 +1606,11 @@ index 8e5e8ced3fe9d..d77da467efd61 100644 |
1606
|
1606
|
|
1607
|
1607
|
-#if LLVM_VERSION_MAJOR == 15
|
1608
|
1608
|
+#if GALLIVM_USE_ORCJIT
|
1609
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
1609
|
++#if LLVM_VERSION_MAJOR == 15
|
1610
|
1610
|
+ LLVMContextSetOpaquePointers(LLVMOrcThreadSafeContextGetContext(llvmpipe->context), false);
|
1611
|
1611
|
+#endif
|
1612
|
1612
|
+#else
|
1613
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
1613
|
++#if LLVM_VERSION_MAJOR == 15
|
1614
|
1614
|
LLVMContextSetOpaquePointers(llvmpipe->context, false);
|
1615
|
1615
|
+#endif
|
1616
|
1616
|
#endif
|
... |
... |
@@ -1895,7 +1895,7 @@ index fd8489f8358b0..abd93a2754282 100644 |
1895
|
1895
|
|
1896
|
1896
|
+#if GALLIVM_USE_ORCJIT
|
1897
|
1897
|
+ context = LLVMOrcCreateNewThreadSafeContext();
|
1898
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
1898
|
++#if LLVM_VERSION_MAJOR == 15
|
1899
|
1899
|
+ LLVMContextSetOpaquePointers(LLVMOrcThreadSafeContextGetContext(context), false);
|
1900
|
1900
|
+#endif
|
1901
|
1901
|
+#else
|
... |
... |
@@ -2004,7 +2004,7 @@ index 7851bf29dd63f..8c30a7d33a1c0 100644 |
2004
|
2004
|
|
2005
|
2005
|
+#if GALLIVM_USE_ORCJIT
|
2006
|
2006
|
+ context = LLVMOrcCreateNewThreadSafeContext();
|
2007
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
2007
|
++#if LLVM_VERSION_MAJOR == 15
|
2008
|
2008
|
+ LLVMContextSetOpaquePointers(LLVMOrcThreadSafeContextGetContext(context), false);
|
2009
|
2009
|
+#endif
|
2010
|
2010
|
+#else
|
... |
... |
@@ -2101,7 +2101,7 @@ index 9fb64486f1131..b8c58cd9a07b7 100644 |
2101
|
2101
|
|
2102
|
2102
|
+#if GALLIVM_USE_ORCJIT
|
2103
|
2103
|
+ context = LLVMOrcCreateNewThreadSafeContext();
|
2104
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
2104
|
++#if LLVM_VERSION_MAJOR == 15
|
2105
|
2105
|
+ LLVMContextSetOpaquePointers(LLVMOrcThreadSafeContextGetContext(context), false);
|
2106
|
2106
|
+#endif
|
2107
|
2107
|
+#else
|
... |
... |
@@ -2170,7 +2170,7 @@ index 6d3a60bd8dba0..23d69c78fec52 100644 |
2170
|
2170
|
|
2171
|
2171
|
+#if GALLIVM_USE_ORCJIT
|
2172
|
2172
|
+ context = LLVMOrcCreateNewThreadSafeContext();
|
2173
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
2173
|
++#if LLVM_VERSION_MAJOR == 15
|
2174
|
2174
|
+ LLVMContextSetOpaquePointers(LLVMOrcThreadSafeContextGetContext(context), false);
|
2175
|
2175
|
+#endif
|
2176
|
2176
|
+#else
|
... |
... |
@@ -2228,7 +2228,7 @@ index 6d3a60bd8dba0..23d69c78fec52 100644 |
2228
|
2228
|
|
2229
|
2229
|
+#if GALLIVM_USE_ORCJIT
|
2230
|
2230
|
+ context = LLVMOrcCreateNewThreadSafeContext();
|
2231
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
2231
|
++#if LLVM_VERSION_MAJOR == 15
|
2232
|
2232
|
+ LLVMContextSetOpaquePointers(LLVMOrcThreadSafeContextGetContext(context), false);
|
2233
|
2233
|
+#endif
|
2234
|
2234
|
+#else
|
... |
... |
@@ -2373,12 +2373,12 @@ index 0000000000000..1f59d555ec59f |
2373
|
2373
|
+
|
2374
|
2374
|
+#if GALLIVM_USE_ORCJIT
|
2375
|
2375
|
+ LLVMOrcThreadSafeContextRef context = LLVMOrcCreateNewThreadSafeContext();
|
2376
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
2376
|
++#if LLVM_VERSION_MAJOR == 15
|
2377
|
2377
|
+ LLVMContextSetOpaquePointers(LLVMOrcThreadSafeContextGetContext(context), false);
|
2378
|
2378
|
+#endif
|
2379
|
2379
|
+#else
|
2380
|
2380
|
+ LLVMContextRef context = LLVMContextCreate();
|
2381
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
2381
|
++#if LLVM_VERSION_MAJOR == 15
|
2382
|
2382
|
+ LLVMContextSetOpaquePointers(context, false);
|
2383
|
2383
|
+#endif
|
2384
|
2384
|
+#endif
|
... |
... |
@@ -2499,7 +2499,7 @@ index 7e53aa519280e..1f9f3b1383044 100644 |
2499
|
2499
|
|
2500
|
2500
|
+#if GALLIVM_USE_ORCJIT
|
2501
|
2501
|
+ context = LLVMOrcCreateNewThreadSafeContext();
|
2502
|
|
-+#if LLVM_VERSION_MAJOR >= 15
|
|
2502
|
++#if LLVM_VERSION_MAJOR == 15
|
2503
|
2503
|
+ LLVMContextSetOpaquePointers(LLVMOrcThreadSafeContextGetContext(context), false);
|
2504
|
2504
|
+#endif
|
2505
|
2505
|
+#else
|