[llvm] [ORC] Add automatic shared library resolver for unresolved symbols. (PR #148410)

via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 17 22:47:42 PDT 2025


SahilPatidar wrote:

Thanks for the review!
I made some tests here: [gist link](https://gist.github.com/SahilPatidar/cf50f38a22fcafc708c0e65800303300).

**Folder structure:**

```
Inputs/
  C.yaml
  A/A.yaml
  B/B.yaml
  Z/Z.yaml
```

The test reads each YAML and creates a `.dylib`/`.so` in the same folder.
Since we can’t enable this in ORC right now, an integration test isn’t possible. I’m working on a `gtest` instead.

I’m figuring out how to make the YAML files portable across platforms. If I don’t find a simple way, then I need to create separate YAML files for each platform.

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


More information about the llvm-commits mailing list