[PATCH] D113136: [Clang] Pass -z rel to linker for Fuchsia
Petr Hosek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 10 11:29:25 PST 2021
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:64-65
CmdArgs.push_back("--pack-dyn-relocs=relr");
+ CmdArgs.push_back("-z");
+ CmdArgs.push_back("rel");
}
----------------
Super minor nit, but I'd prefer moving this two lines up to keep all the `-z` options together.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113136/new/
https://reviews.llvm.org/D113136
More information about the cfe-commits
mailing list