FailedChanges

Summary

  1. [ORC] Fix MachOPlatform's synthetic symbol dependence registration. (details)
  2. [ORC] Add an early out for MachOPlatform's init-scraper plugin setup. (details)
Commit 7ff335a25f80b8be3a1d8dd08b30453201dac132 by Lang Hames
[ORC] Fix MachOPlatform's synthetic symbol dependence registration.

A think-o in the existing code meant that dependencies were never registered.
This failure could lead to crashes rather than orderly error propagation if
initialization dependencies failed to materialize.

No test case: The bug was discovered in an out-of-tree code and requires
pathalogically misconfigured JIT to generate the original error that lead to
the crash.
The file was modifiedllvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
Commit c40ce0da7189bd2ada15725a79525da13a67f3e4 by Lang Hames
[ORC] Add an early out for MachOPlatform's init-scraper plugin setup.

If there's no initializer symbol in the current MaterializationResponsibility
then bail out without installing JITLink passes: they're going to be no-ops
anyway.
The file was modifiedllvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp