MaskRay added inline comments.
================ Comment at: clang/lib/Driver/ToolChains/Serenity.cpp:25 + +static bool getPIE(const ArgList &Args, const ToolChain &TC) { + if (Args.hasArg(options::OPT_static, options::OPT_shared, ---------------- I've simplified `Gnu.cpp` a bit for handling different link modes. ae623d16d50c9f12de7ae7ac1aa11c9d6857e081 ================ Comment at: clang/lib/Driver/ToolChains/Serenity.cpp:51 + + if (IsPIE || IsStaticPIE) + CmdArgs.push_back("-pie"); ---------------- See ae623d16d50c9f12de7ae7ac1aa11c9d6857e081 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154396/new/ https://reviews.llvm.org/D154396 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits