Linus Torvalds writes: (Summary) There's that whole
complicated script for our final link in
complicated script for our final link in
scripts/link-vmlinux.sh
scripts/link-vmlinux.sh
which links in all the kallsyms information etc, but also does things like the exception table sorting.
like the exception table sorting.
So it's possible that addr2line works fine on a normal executable, but that we've done some munging that then makes it not really do the right thing for vmlinux.
right thing for vmlinux.
But it is also equally possible that addr2line simply doesn't understand -gsplit-dwarf at all.
complicated script for our final link in
scripts/link-vmlinux.sh
scripts/link-vmlinux.sh
which links in all the kallsyms information etc, but also does things like the exception table sorting.
like the exception table sorting.
So it's possible that addr2line works fine on a normal executable, but that we've done some munging that then makes it not really do the right thing for vmlinux.
right thing for vmlinux.
But it is also equally possible that addr2line simply doesn't understand -gsplit-dwarf at all.