[JITLink] Error instead of asserting on unrecognized edge kinds.
authorLang Hames <lhames@gmail.com>
Sun, 17 Apr 2022 01:49:47 +0000 (18:49 -0700)
committerLang Hames <lhames@gmail.com>
Sun, 17 Apr 2022 01:52:27 +0000 (18:52 -0700)
commit42614062e21d05f94db878e9cd120e518c50633c
tree51083f692c640db7a6291e3d767a79c51bffb03f
parent2696d82fa0c323d92d8794f0a34ea9619888fae9
[JITLink] Error instead of asserting on unrecognized edge kinds.

It's idiomatic to require that plugins (especially platform plugins) be
installed to handle special edge kinds. If the plugins are not installed and an
object is loaded that uses one of the special edge kinds then we want to error
out rather than asserting.
llvm/include/llvm/ExecutionEngine/JITLink/x86_64.h
llvm/lib/ExecutionEngine/JITLink/MachO_arm64.cpp