[PATCH] D57303: [ToolChains] [NetBSD] Append -rpath for shared compiler-rt runtimes
Kamil Rytarowski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Jan 27 14:05:54 PST 2019
krytarowski added a comment.
In D57303#1373077 <https://reviews.llvm.org/D57303#1373077>, @phosek wrote:
> In D57303#1373061 <https://reviews.llvm.org/D57303#1373061>, @krytarowski wrote:
>
> > How do you resolve paths? Linker cache with registry of libraries?
>
>
> `DT_NEEDED` aren't treated as paths, they are used as object names (keys); dynamic linker passes those to the loader service which is responsible for resolving them and returning back the corresponding memory objects.
I see, I was more thinking about UNIX-like OSes as I haven't even treated `-rpath` here as applicable for other OSes.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57303/new/
https://reviews.llvm.org/D57303
More information about the cfe-commits
mailing list