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

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 7 14:12:45 PDT 2018


probinson 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.


It is not OK for the presence of debug info to affect the construction of the rest of the executable.  Normally this is something only the compiler needs to worry about, but it appears the linker also needs to care.  If I understand the motivation here correctly.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D47901





More information about the llvm-commits mailing list