[cfe-commits] r106873 - /cfe/trunk/lib/Basic/Targets.cpp
Eric Christopher
echristo at apple.com
Fri Jun 25 12:04:52 PDT 2010
Author: echristo
Date: Fri Jun 25 14:04:52 2010
New Revision: 106873
URL: http://llvm.org/viewvc/llvm-project?rev=106873&view=rev
Log:
Translate numbers properly.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=106873&r1=106872&r2=106873&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Fri Jun 25 14:04:52 2010
@@ -150,7 +150,7 @@
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 {
More information about the cfe-commits
mailing list