Added the darwin .weak_def_can_be_hidden directive.
[oota-llvm.git] / lib / MC / MCParser / AsmParser.cpp
index 94b545a2059267075aed3d365f4a8f0985cbe759..181b69ffc095fdc5559da772712b10d39296da1f 100644 (file)
@@ -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);