[PATCH] D47901: [WIP] [WebAssembly] Update .debug_line section PC addresses during LEB optimization
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 7 15:20:07 PDT 2018
sbc100 added a comment.
In https://reviews.llvm.org/D47901#1125770, @ruiu wrote:
> I do imagine that "there's no way to create an executable with debug info if you are creating a release build" is unacceptable. So, we need to support both -O2 with debug info. But is this the only way to do this? This seems a bit too complicated to me. Maybe just code is complicated and the algorithm might not, but it is hard to tell because of the lack of any explanation of the algorithm.
How about if we decouple of the compaction from the -O2 or "release build" and make it a separate flag?
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D47901
More information about the llvm-commits
mailing list