[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
Mon Feb 7 18:58:02 PST 2022


phosek added a comment.

Have you checked if all the tests are still passing?



================
Comment at: clang/lib/Driver/ToolChains/Fuchsia.cpp:160
 
+    AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
+    ToolChain.addProfileRTLibs(Args, CmdArgs);
----------------
This shouldn't move, these are linker inputs provided by the used and should be always passed to the linker.


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