libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / clang-18 / patches / 12-StubAlignment.patch
blobaf8e008c17f82fac91c414de4d477437b4cac5ce
1 # llvm-17.0.1.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:2187:51: error: cannot convert 'llvm::Align' to 'uintptr_t' {aka 'long unsigned int'} in initialization
2 # 2187 | uintptr_t StubAlignment = getStubAlignment();
3 # | ~~~~~~~~~~~~~~~~^~
4 # | |
5 # | llvm::Align
6 #llvm-17.0.1.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp:2187:19: warning: unused variable 'StubAlignment' [-Wunused-variable]
7 # 2187 | uintptr_t StubAlignment = getStubAlignment();
8 # it seems that StubAlignment is not used at all so just remove
10 --- llvm-17.0.1.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp 2023-09-22 19:43:07.710542014 +0200
11 +++ llvm-17.0.1.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp.new 2023-09-22 20:54:32.526085255 +0200
12 @@ -2184,7 +2184,7 @@
14 uintptr_t BaseAddress =
15 reinterpret_cast<uintptr_t>(Section.getAddress());
16 - uintptr_t StubAlignment = getStubAlignment();
17 +// uintptr_t StubAlignment = getStubAlignment();
18 StubAddress = BaseAddress + StubOffset;
19 StubAddress = llvm::alignTo(StubAddress, 4U);
20 StubOffset = StubAddress - BaseAddress;
21 @@ -2215,7 +2215,7 @@
22 } else {
23 uintptr_t BaseAddress =
24 reinterpret_cast<uintptr_t>(Section.getAddress());
25 - uintptr_t StubAlignment = getStubAlignment();
26 +// uintptr_t StubAlignment = getStubAlignment();
27 StubAddress = BaseAddress + StubOffset;
28 StubAddress = llvm::alignTo(StubAddress, 4U);
29 StubOffset = StubAddress - BaseAddress;
30 @@ -2256,7 +2256,7 @@
32 uintptr_t BaseAddress =
33 reinterpret_cast<uintptr_t>(Section.getAddress());
34 - uintptr_t StubAlignment = getStubAlignment();
35 +// uintptr_t StubAlignment = getStubAlignment();
37 StubAddress = BaseAddress + StubOffset;
38 StubAddress = llvm::alignTo(StubAddress, 8U);
39 @@ -2298,7 +2298,7 @@
40 } else {
41 uintptr_t BaseAddress =
42 reinterpret_cast<uintptr_t>(Section.getAddress());
43 - uintptr_t StubAlignment = getStubAlignment();
44 +// uintptr_t StubAlignment = getStubAlignment();
45 StubAddress = BaseAddress + StubOffset;
46 StubAddress = llvm::alignTo(StubAddress, 8U);
47 StubOffset = StubAddress - BaseAddress;