Comment 35 for bug 1995274

Revision history for this message
In , Mark J. Wielaard (3y9m2vcw-ll9d-fkzsxrqg) wrote :

For support DW_FORM_addrx3 and DW_FORM_strx3 it would be easier/clearer imho to use #if defined(VG_BIGENDIAN) instead of doing a runtime trick.

Is the big endian variant correct?

return c1 << 16 | c2 << 8 | c3;

Should that be:

return c1 << 32 | c2 << 16 | c3 << 8;