[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:02:46 PDT 2024


DavidSpickett wrote:

If I revert the change to `stable_sort` I see the same gaps though:
```
$ /home/david.spickett/build-llvm-arm/bin/lli -jit-kind=orc /home/david.spickett/llvm-project/llvm/test/ExecutionEngine/Orc/global-ctor-order.ll
H3
H1

M2



1
2

16

14

12
5
10
9
3
8
7
6
4
```

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


More information about the llvm-commits mailing list