[PATCH] D141824: [clang-repl] Add a command to load dynamic libraries

Stefan Gränitz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 15:38:12 PDT 2023


sgraenitz added a comment.

In D141824#4247891 <https://reviews.llvm.org/D141824#4247891>, @zhuhan0 wrote:

> This seems to be the first clang test that involves actual linking.

Interesting, I think we all didn't have this on our radars.

> If the intention is to test loading a dynamic library, could you commit the library in the Inputs directory instead of building it from source? cc @ayermolo

Is that something other tests do? Otherwise, I am not sure it's a practical solution. We could also consider another requirement like `host-supports-linking` for the test. What do you think?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141824/new/

https://reviews.llvm.org/D141824



More information about the cfe-commits mailing list