[WebAssembly] Implement --print-gc-sections for synthetic functions
authorNicholas Wilson <nicholas@nicholaswilson.me.uk>
Fri, 20 Apr 2018 17:09:18 +0000 (17:09 +0000)
committerNicholas Wilson <nicholas@nicholaswilson.me.uk>
Fri, 20 Apr 2018 17:09:18 +0000 (17:09 +0000)
commit6c7fe30a1c9012d9881d0fe2faaf6fdfbf956359
tree04bd393dc24403e82177a23ccaf6660afa950573
parentef90ff36daa5f244357e29dd28e7d5092d01be76
[WebAssembly] Implement --print-gc-sections for synthetic functions

Enables cleaning up confusion between which name variables are mangled
and which are unmangled, and --print-gc-sections then excersises and
tests that.

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

llvm-svn: 330449
lld/test/wasm/undefined-weak-call.ll
lld/wasm/Driver.cpp
lld/wasm/InputChunks.h
lld/wasm/MarkLive.cpp
lld/wasm/Writer.cpp