[cfe-commits] r75003 - /cfe/trunk/lib/Basic/Targets.cpp

Duncan Sands baldrick at free.fr
Wed Jul 8 06:55:28 PDT 2009


Author: baldrick
Date: Wed Jul  8 08:55:08 2009
New Revision: 75003

URL: http://llvm.org/viewvc/llvm-project?rev=75003&view=rev
Log:
Correct FreeBSD target info, fixing PR4514.
Patch by Roman Divacky.

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=75003&r1=75002&r2=75003&view=diff

==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Jul  8 08:55:08 2009
@@ -297,7 +297,9 @@
   }
 public:
   FreeBSDTargetInfo(const std::string &triple) 
-    : OSTargetInfo<Target>(triple) {}
+    : OSTargetInfo<Target>(triple) {
+      this->UserLabelPrefix = "";
+    }
 };
 
 // Linux target





More information about the cfe-commits mailing list