[PATCH] D59841: [Gnu Driver] Let -static-pie win if it is specified along with -pie or -static.

Siva Chandra via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 13:15:14 PDT 2019


sivachandra updated this revision to Diff 200577.
sivachandra added a comment.

Let -static-pie win if specified along with -pie or -static.

Also, treat specifying -nopie/-no-pie along with -static-pie as an error.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59841

Files:
  clang/include/clang/Basic/DiagnosticDriverKinds.td
  clang/lib/Driver/ToolChains/Gnu.cpp
  clang/test/Driver/linux-ld.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59841.200577.patch
Type: text/x-patch
Size: 6475 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190521/82107f87/attachment.bin>


More information about the cfe-commits mailing list