OSDN Git Service

[WebAssembly] Attach a name to globals similarly to function naming
authorNicholas Wilson <nicholas@nicholaswilson.me.uk>
Mon, 5 Mar 2018 12:16:32 +0000 (12:16 +0000)
committerNicholas Wilson <nicholas@nicholaswilson.me.uk>
Mon, 5 Mar 2018 12:16:32 +0000 (12:16 +0000)
commit54767673da12dc9f3a496f6963aa40d1fd26426e
treeef03a4a49ddb3ae6c2972ae60d293d01dbe89e06
parent17209fa8d773b4a5fa6f77146d785dc9f1504e32
[WebAssembly] Attach a name to globals similarly to function naming

This allows LLD to print the name for an InputGlobal when encountering
an error.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326691 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/BinaryFormat/Wasm.h
lib/Object/WasmObjectFile.cpp