]> granicus.if.org Git - clang/commitdiff
Re-enable stack depth instrumentation on Windows.
authorMatt Morehouse <mascasa@google.com>
Tue, 29 Aug 2017 21:15:33 +0000 (21:15 +0000)
committerMatt Morehouse <mascasa@google.com>
Tue, 29 Aug 2017 21:15:33 +0000 (21:15 +0000)
Specified tls_model attribute properly. Should compile on Windows
now.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312037 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/SanitizerArgs.cpp

index 7dd2046378f6c75b06902053a0681c539b212a2e..a2a1373c8d8411da643305d9effcae987adc2b32 100644 (file)
@@ -315,8 +315,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
       if (Add & FuzzerNoLink) {
         CoverageFeatures |= CoverageTracePCGuard | CoverageIndirCall |
                             CoverageTraceCmp | CoveragePCTable;
-        // Due to TLS differences, stack depth tracking is disabled on Mac/Win.
-        if (!TC.getTriple().isOSDarwin() && !TC.getTriple().isOSWindows())
+        // Due to TLS differences, stack depth tracking is disabled on Mac.
+        if (!TC.getTriple().isOSDarwin())
           CoverageFeatures |= CoverageStackDepth;
       }