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

2019-05-21 Thread Siva Chandra via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rC361312: Let -static-pie win if it is specified along with -pie or -static. (authored by sivachandra, committed by ). Changed prior to commit: https://reviews.llvm.org/D59841?vs=200577=200584#toc

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

2019-05-21 Thread Siva Chandra via Phabricator via cfe-commits
sivachandra marked an inline comment as done. sivachandra added a comment. PTAL Comment at: clang/lib/Driver/ToolChains/Gnu.cpp:311 if (Args.hasArg(options::OPT_shared) || Args.hasArg(options::OPT_static) || - Args.hasArg(options::OPT_r)) +

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

2019-05-21 Thread Siva Chandra via Phabricator via cfe-commits
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