[PATCH] D113372: [Driver] Add CLANG_DEFAULT_PIE to emulate GCC --enable-default-pie

Sam James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 1 11:28:12 PST 2021


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

This is working well here on Gentoo.

This brings some long-desired feature parity to Clang which we've been wanting downstream: GCC has had this option for quite a few years (after pushing from various downstreams, including us) and this ends up biting folks who want to try migrate to Clang as their system compiler.

The change is rather conservative given we're defaulting to PIE being off for now (and this is the same as GCC anyway).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113372



More information about the cfe-commits mailing list