From d6ef8da31780ea2fbce89873528295e5983d8323 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Thu, 7 Feb 2019 01:24:44 +0000 Subject: [WebAssembly] Add symbol flag to the binary format llvm.used Summary: Rather than add a new attribute See https://github.com/WebAssembly/tool-conventions/issues/64 Subscribers: dschuff, jgravelle-google, aheejin, sunfish, rupprecht, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D57864 llvm-svn: 353360 --- llvm/lib/ObjectYAML/WasmYAML.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/ObjectYAML/WasmYAML.cpp') diff --git a/llvm/lib/ObjectYAML/WasmYAML.cpp b/llvm/lib/ObjectYAML/WasmYAML.cpp index f2030eb740e..def4d58a101 100644 --- a/llvm/lib/ObjectYAML/WasmYAML.cpp +++ b/llvm/lib/ObjectYAML/WasmYAML.cpp @@ -486,6 +486,7 @@ void ScalarBitSetTraits::bitset( // BCaseMask(VISIBILITY_MASK, VISIBILITY_DEFAULT); BCaseMask(VISIBILITY_MASK, VISIBILITY_HIDDEN); BCaseMask(UNDEFINED, UNDEFINED); + BCaseMask(EXPORTED, EXPORTED); #undef BCaseMask } -- cgit v1.2.3