]> granicus.if.org Git - clang/commitdiff
Translate numbers properly.
authorEric Christopher <echristo@apple.com>
Fri, 25 Jun 2010 19:04:52 +0000 (19:04 +0000)
committerEric Christopher <echristo@apple.com>
Fri, 25 Jun 2010 19:04:52 +0000 (19:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106873 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Basic/Targets.cpp

index 8660f2b015a4c1d3d2945ff61ef2e9cb674ba8c3..8f36725598dfe493227bed6d42bf56d3744985ea 100644 (file)
@@ -150,7 +150,7 @@ protected:
 public:
   DarwinTargetInfo(const std::string& triple) :
     OSTargetInfo<Target>(triple) {
-      this->TLSSupported = llvm::Triple(triple).getDarwinMajorNumber() > 6;
+      this->TLSSupported = llvm::Triple(triple).getDarwinMajorNumber() > 10;
     }
 
   virtual std::string isValidSectionSpecifier(llvm::StringRef SR) const {