OSDN Git Service

[WebAssembly] Disallow weak undefined globals in the object format
authorNicholas Wilson <nicholas@nicholaswilson.me.uk>
Fri, 9 Mar 2018 16:30:44 +0000 (16:30 +0000)
committerNicholas Wilson <nicholas@nicholaswilson.me.uk>
Fri, 9 Mar 2018 16:30:44 +0000 (16:30 +0000)
commit44818a31b755a47249172dadac9ed9e636cc94ed
tree7fe9627119779fae1ceab75c1f8774f07c788011
parent815d73b1d6ec6fa8f179882790e484ba7c7a722c
[WebAssembly] Disallow weak undefined globals in the object format

This implements https://github.com/WebAssembly/tool-conventions/pull/47

Differential Revision: https://reviews.llvm.org/D44201

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327146 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WasmObjectWriter.cpp
lib/Object/WasmObjectFile.cpp
test/ObjectYAML/wasm/invalid_global_weak.yaml [new file with mode: 0644]
test/tools/llvm-nm/wasm/weak-symbols.yaml