[PATCH] D119201: [clang][Fuchsia] Ensure static sanitizer libs are only linked in after the -nostdlib check

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 8 09:50:56 PST 2022


phosek accepted this revision.
phosek added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: clang/lib/Driver/ToolChains/Fuchsia.cpp:158-160
+    bool NeedsXRayDeps = addXRayRuntime(ToolChain, Args, CmdArgs);
     if (NeedsXRayDeps)
       linkXRayRuntimeDeps(ToolChain, CmdArgs);
----------------
I think this can be dropped as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119201



More information about the cfe-commits mailing list