Targets/Darwin: mcount name on Darwin needs to be unmangled.

llvm-svn: 126152
This commit is contained in:
Daniel Dunbar 2011-02-21 23:12:51 +00:00
parent 60a26a6578
commit 13adc7fefd
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ public:
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 {