Skip to content

Conversation

@SahilPatidar
Copy link
Contributor

@SahilPatidar SahilPatidar commented Oct 28, 2025

This PR reapplies the changes previously introduced in #148410.
It introduces a redesigned and rebuilt Cling-based auto-loading workaround that enables scanning libraries and resolving unresolved symbols within those libraries.

Fix build failures in LibraryResolverTest and silence symlink warning

This commit resolves issues observed in the build bots:

  1. Silences the -Wunused-result warning by handling the return value
    of ::symlink in LibraryResolverTest.cpp. Previously, ignoring
    the return value triggered compiler warnings.

  2. Fixes a linker error in OrcJITTests caused by an undefined
    symbol: llvm::yaml::convertYAML. The test setup in
    LibraryResolverTest.cpp now correctly links against the required
    LLVM YAML library symbols.

  3. Fixes persistent build bot failure caused by a path difference issue.

This resolves the build failures for PR #148410 on the affected bots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant