[PATCH] D23137: [WebAssembly] Fix CFI index for WebAssembly target to account for padding nullptr function

Dominic Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 14:18:16 PDT 2016


ddcc added a comment.

The WebAssembly linker now creates a dummy function at index 0 to prevent miscomparisons with the NULL pointer, see https://github.com/WebAssembly/binaryen/pull/658. Thanks to pcc for pointing out this problem!


https://reviews.llvm.org/D23137





More information about the llvm-commits mailing list