[llvm] [ORC] Preserve order of constructors with same priority (PR #95532)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 04:20:54 PDT 2024


DavidSpickett wrote:

Same result with that:
```
$ /home/david.spickett/build-llvm-arm/bin/lli -jit-kind=orc --jit-linker=rtdyld /home/david.spickett/llvm-project/llvm/test/ExecutionEngine/Orc/global-ctor-order.ll
H1

H3

M2

1
2
3
4
5
6
7
8
9
10

12

14

16
```

We do suspect relocations in another recent issue https://github.com/llvm/llvm-project/issues/94994, so it could be that.

https://github.com/llvm/llvm-project/pull/95532


More information about the llvm-commits mailing list