[llvm-branch-commits] [cfe-branch] r126418 - /cfe/branches/Apple/palisade/lib/Basic/Targets.cpp
Daniel Dunbar
daniel at zuster.org
Thu Feb 24 12:02:41 PST 2011
Author: ddunbar
Date: Thu Feb 24 14:02:41 2011
New Revision: 126418
URL: http://llvm.org/viewvc/llvm-project?rev=126418&view=rev
Log:
Merge r126152:
--
Author: Daniel Dunbar <daniel at zuster.org>
Date: Mon Feb 21 23:12:51 2011 +0000
Targets/Darwin: mcount name on Darwin needs to be unmangled.
Modified:
cfe/branches/Apple/palisade/lib/Basic/Targets.cpp
Modified: cfe/branches/Apple/palisade/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/palisade/lib/Basic/Targets.cpp?rev=126418&r1=126417&r2=126418&view=diff
==============================================================================
--- cfe/branches/Apple/palisade/lib/Basic/Targets.cpp (original)
+++ cfe/branches/Apple/palisade/lib/Basic/Targets.cpp Thu Feb 24 14:02:41 2011
@@ -152,6 +152,7 @@
DarwinTargetInfo(const std::string& triple) :
OSTargetInfo<Target>(triple) {
this->TLSSupported = llvm::Triple(triple).getDarwinMajorNumber() > 10;
+ this->MCountName = "\01mcount";
}
virtual std::string isValidSectionSpecifier(llvm::StringRef SR) const {
More information about the llvm-branch-commits
mailing list