From 082d0fd7ad4f75542a2330764b035ce805d38166 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Thu, 8 Jul 2010 17:22:42 +0000 Subject: Added the darwin .weak_def_can_be_hidden directive. llvm-svn: 107886 --- llvm/lib/MC/MCParser/AsmParser.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/MC/MCParser/AsmParser.cpp') diff --git a/llvm/lib/MC/MCParser/AsmParser.cpp b/llvm/lib/MC/MCParser/AsmParser.cpp index 94b545a2059..181b69ffc09 100644 --- a/llvm/lib/MC/MCParser/AsmParser.cpp +++ b/llvm/lib/MC/MCParser/AsmParser.cpp @@ -755,6 +755,8 @@ bool AsmParser::ParseStatement() { return ParseDirectiveSymbolAttribute(MCSA_WeakDefinition); if (IDVal == ".weak_reference") return ParseDirectiveSymbolAttribute(MCSA_WeakReference); + if (IDVal == ".weak_def_can_be_hidden") + return ParseDirectiveSymbolAttribute(MCSA_WeakDefAutoPrivate); if (IDVal == ".comm") return ParseDirectiveComm(/*IsLocal=*/false); -- cgit v1.2.3