]> git.ipfire.org Git - thirdparty/valgrind.git/commit
DW_CFA_advance_loc{,1,2,4} fail to multiply the delta by
authorJulian Seward <jseward@acm.org>
Thu, 23 Sep 2010 13:24:48 +0000 (13:24 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 23 Sep 2010 13:24:48 +0000 (13:24 +0000)
commit4953c95227774f6db7b7bfd1a73c9b8e1008713f
tree1ad4df70dd50dd1faa355a2da390e17ea31e68ff
parent0bfbb218378a7bc17d2b92e46686693e77667d19
DW_CFA_advance_loc{,1,2,4} fail to multiply the delta by
code_alignment_factor, thereby assuming it is 1.  This happens to be
OK on amd64-linux and s390x-linux because it really is 1, but on
arm-linux it is 2, and hence the boundaries between code-unwind areas
are simply wrong after any of DW_CFA_advance_loc{,1,2,4} are
processed.  This patch provides the obvious fix.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11376
coregrind/m_debuginfo/readdwarf.c