[PATCH] D74781: Wasm-ld emits invalid .debug_ranges entries for non-live symbols

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 22 12:51:05 PDT 2020


dblaikie added a comment.

You probably want to check on the behavior of debug_loc too, it also uses start/end pairs of zeros to terminate the list. I don't think there's any debug info LLVM produces currently that would trip over this (it'd need something like a global variable being optimized into local storage in a function that was optimized away to trip over this, for instance).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74781





More information about the llvm-commits mailing list