It used to be incredibly common for production APKs to contain Java debug info (line numbers and variable names).  IIRC, Android Studio now sets up the Release builds to strip this out and do basic ProGuard optimizations, but if WhatsApp was migrated from an old build system or something, it could easily be missing this step.