commit | 52ca70dc304c694923ac804630d88b1d95bfa941 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Tue Apr 09 04:35:11 2013 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Tue Apr 09 04:35:11 2013 +0000 |
tree | f051cc9689e5b902c83b8d9b29ccb28f774bab21 | |
parent | a5796f87229b4aeebca71fa6ee1790ae7a5a0382 [diff] [blame] |
If the user requested a zero-base-shadow sanitizer, infer -pie and -fPIC when appropriate. Differential Revision: http://llvm-reviews.chandlerc.com/D502 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179082 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/WindowsToolChain.cpp b/lib/Driver/WindowsToolChain.cpp index dac7e77..622c492 100644 --- a/lib/Driver/WindowsToolChain.cpp +++ b/lib/Driver/WindowsToolChain.cpp
@@ -60,6 +60,10 @@ return getArch() == llvm::Triple::x86_64; } +bool Windows::isPIEDefault() const { + return false; +} + bool Windows::isPICDefaultForced() const { return getArch() == llvm::Triple::x86_64; }