]> granicus.if.org Git - llvm/commitdiff
[WebAssembly] MC: Handle (ignore) MCSA_Protected symbol attribute
authorSam Clegg <sbc@chromium.org>
Fri, 20 Oct 2017 17:41:12 +0000 (17:41 +0000)
committerSam Clegg <sbc@chromium.org>
Fri, 20 Oct 2017 17:41:12 +0000 (17:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316220 91177308-0d34-0410-b5e6-96231b3b80d8

lib/MC/MCWasmStreamer.cpp

index 1262e891f5e14b1e2ca0623febb87db94b96abd2..5399f4ae58efb48baca27ba8dbdc8dba90d99ac1 100644 (file)
@@ -99,6 +99,7 @@ bool MCWasmStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
   case MCSA_Invalid:
   case MCSA_IndirectSymbol:
   case MCSA_Hidden:
+  case MCSA_Protected:
     return false;
 
   case MCSA_Weak: