[PATCH] D56684: [WebAssembly] Fixed objdump not parsing function headers.
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 17:10:59 PST 2019
dschuff added a comment.
Oh I had actually forgotten that the PC offset is the offset in the module, not the offset within the function. So for objdump either way would be ok, since you could easily find what function a particular instruction is in. I guess my point is not that the formats have to match, (since e.g. you probably wouldn't be using the same code to parse both browser output and tool output?) but if you are debugging and looking at a stack trace, you should easily be able to find the same location in an objdump-produced assembly dump.... Without a calculator (annoyance of mismatched hex/dec address formats was what originally led me to add that section to the spec :) )
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56684/new/
https://reviews.llvm.org/D56684
More information about the llvm-commits
mailing list