Remove target-specific info from the testcase for DWARF/pubnames.