forked from OSchip/llvm-project
Targets/Darwin: mcount name on Darwin needs to be unmangled.
llvm-svn: 126152
This commit is contained in:
parent
60a26a6578
commit
13adc7fefd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue