[PATCH] D77353: [WebAssembly] Add DW_OP_WASM_location_int

Sterling Augustine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 17:50:26 PDT 2020


saugustine added a comment.

The comparison on lines 81 and 82 of InputChunks.cpp is always true.

  if (rel.Type != R_WASM_GLOBAL_INDEX_LEB ||
      rel.Type != R_WASM_GLOBAL_INDEX_I32) {

This causes build failures:

InputChunks.cpp:81:45: error: overlapping comparisons always evaluate to true [-Werror,-Wtautological-overlap-compare]


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77353/new/

https://reviews.llvm.org/D77353





More information about the llvm-commits mailing list