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

Douglas Yung via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 29 00:56:21 PDT 2023


dyung added a comment.

In D141824#4229693 <https://reviews.llvm.org/D141824#4229693>, @argentite wrote:

> Hi, @dyung ! It seems the dynamic library generation is failing from the lack of a linker. We need a test library to load at runtime in clang-repl. Do you have any idea how we can create one without a linker? Otherwise we can disable the test on PS4 as it is probably an unlikely use case.

If you need to generate a library at test time, then the test won't work on the PS4 platform since the external linker won't be present. (Note that it should work on PS5 as that uses LLD for the linker). I think you should probably just mark the test as unsupported on PS4.


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