[PATCH] D47901: [WIP] [WebAssembly] Update .debug_line section PC addresses during LEB optimization
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 7 15:27:36 PDT 2018
ruiu added a comment.
There's no notion of "PC" in wasm, no? You cannot take an address of a function and call it indirectly later. Well, you can do that, but what you get is not an address in the regular mean. It's an index, if I understand correctly. So, by PC, what do you mean?
How about my suggestion to make a change to the debugger, so that it computes offset not against the compacted raw wasm text section but in the fully-expanded form?
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D47901
More information about the llvm-commits
mailing list