From: Daniel Dunbar Date: Mon, 21 Feb 2011 23:12:51 +0000 (+0000) Subject: Targets/Darwin: mcount name on Darwin needs to be unmangled. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e177d3b7445ebe9358f0858a4a23453c4b750c0f;p=clang Targets/Darwin: mcount name on Darwin needs to be unmangled. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126152 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index a8198e4ae7..55321f2498 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -152,6 +152,7 @@ public: DarwinTargetInfo(const std::string& triple) : OSTargetInfo(triple) { this->TLSSupported = llvm::Triple(triple).getDarwinMajorNumber() > 10; + this->MCountName = "\01mcount"; } virtual std::string isValidSectionSpecifier(llvm::StringRef SR) const {