[NFC] WebAssembly build break #2
authorJF Bastien <jfb@google.com>
Wed, 16 May 2018 22:31:42 +0000 (22:31 +0000)
committerJF Bastien <jfb@google.com>
Wed, 16 May 2018 22:31:42 +0000 (22:31 +0000)
commitddc84bf7d19591470470fc883285961157bf9fef
tree916d4127bb8ccfb279020ea9d35a7f9a13a8513c
parentd261e1258c2d72911f278aa85298b4d6b5393731
[NFC] WebAssembly build break #2

Summary:
Same as r332530, move WasmSymbol::dump to an implementation file to avoid linker
issues when the dump function is seen in the header, doesn't get eliminated, and
then linking fails because of the missing dependency.

<rdar://problem/40258137>

Reviewers: sbc100, ncw, paquette, vsk, dschuff

Subscribers: jgravelle-google, aheejin, sunfish, llvm-commits

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

llvm-svn: 332542
llvm/include/llvm/Object/Wasm.h
llvm/lib/Object/WasmObjectFile.cpp