[DWARF parser] Simplify and re-format a method