[PATCH] D132799: Make sure libLLVM users link with libatomic if needed

Aaron Puchert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 09:52:53 PDT 2022


aaronpuchert added a comment.

In D132799#3784103 <https://reviews.llvm.org/D132799#3784103>, @aaronpuchert wrote:

> As an alternative, we strip when the path is part of the standard linker search paths.

This doesn't seem viable. Finding out the linker search paths requires finding out the linker (which we don't use directly, we use the compiler as linker driver), and then asking it with some flags and parse the output. Flags and output heavily depend on the linker being used.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132799



More information about the llvm-commits mailing list