mozilla / fix-stacks

This program post-processes the stack frames produced by `MozFormatCodeAddress()`.
Apache License 2.0
21 stars 8 forks source link

Doesn't fix addresses for assembly functions? #32

Open glandium opened 4 years ago

glandium commented 4 years ago

I have a stack fixed by fix-stacks that contains these:

#04: ??? (/tmp/gecko/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so + 0x68fa03e)
#19: ??? (/tmp/gecko/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so + 0x68fa16b)

However, addr2line is able to resolve them:

$ addr2line -f -e /tmp/gecko/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so 0x68fa03e
NS_InvokeByIndex
/tmp/gecko/xpcom/reflect/xptcall/md/unix/xptcinvoke_asm_x86_64_unix.S:110
$ addr2line -f -e /tmp/gecko/obj-x86_64-pc-linux-gnu/dist/bin/libxul.so 0x68fa16b
SharedStub
xptcstubs_x86_64_linux.cpp:?