[PATCH] D46985: [NFC] WebAssembly build break #2
JF Bastien via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 16 15:46:40 PDT 2018
jfb added a comment.
In https://reviews.llvm.org/D46985#1102200, @sbc100 wrote:
> Why does this work? Doesn't LLVM_DUMP_METHOD force this method into the link regardless? I though that was the point of it.. so it would never be eliminated.
I may be misunderstanding: I thought this was here for lldb's purpose, so if it gets generated then it cannot get eliminated even if unused. If you only see the header you only have a forward declaration, so there's nothing that could be eliminated anyways.
Repository:
rL LLVM
https://reviews.llvm.org/D46985
More information about the llvm-commits
mailing list