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

Roland McGrath via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 7 16:13:49 PST 2022


mcgrathr added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Fuchsia.cpp:157
     if (NeedsSanitizerDeps)
       linkSanitizerRuntimeDeps(ToolChain, CmdArgs);
 
----------------
This function is a no-op because it tests for fuchsia targets.  So it probably makes more sense not to call it and to remove its fuchsia special-case.



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