[PATCH] D47901: [WIP] [WebAssembly] Update .debug_line section PC addresses during LEB optimization

Yury Delendik via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 14:18:30 PDT 2018


yurydelendik added a comment.

In https://reviews.llvm.org/D47901#1125643, @sbc100 wrote:

> I there a way we can avoid needing to do this at all?   How about we simply don't allow LEB compression and dwarf in the same output?  It seems OK if building with dwarf in them don't have this optimization.




In https://reviews.llvm.org/D47901#1125645, @sbc100 wrote:

> Sorry if my suggestion means your work is wasted?  Maybe I'm missing something


We can do that, yes. We can also consider that at later point of time. I'll keep this patch open until we open different patch with disabling LEB when DWARF sections are present. (Do we want track it per function vs per file?)


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47901





More information about the llvm-commits mailing list