[JITLink] Deterministic JITDylib symbol table dumps
commite73186796db97633332434da69c4e9057e460a59
authorStefan Gränitz <stefan.graenitz@gmail.com>
Wed, 22 Mar 2023 21:11:26 +0000 (22 22:11 +0100)
committerStefan Gränitz <stefan.graenitz@gmail.com>
Wed, 22 Mar 2023 21:12:15 +0000 (22 22:12 +0100)
treec759acddab6daff38891e4aff0108281eea7c6f4
parent473e9adb84c29764da51e4d2a995fce9b2e2ffa5
[JITLink] Deterministic JITDylib symbol table dumps

Sort symbols before dumping so we get a deterministic order and can check them in tests.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D146658
llvm/lib/ExecutionEngine/Orc/Core.cpp