This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Class-fy partial_die_info
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 26 Feb 2018 11:32:32 -0500
- Subject: [binutils-gdb] Class-fy partial_die_info
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 6f06d47ba0965013203af25c17854c01caae5544 ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: master
Commit: 6f06d47ba0965013203af25c17854c01caae5544
Class-fy partial_die_info
This patch is to class-fy partial_die_info. Two things special here,
- disable assignment operator, but keep copy ctor, which is used in
load_partial_dies,
- have a private ctor which is only used by dwarf2_cu::find_partial_die,
I don't want other code use it, so make it private,
gdb:
2018-02-26 Yao Qi <yao.qi@linaro.org>
* dwarf2read.c (struct partial_die_info): Add ctor, delete
assignment operator.
(load_partial_dies): Use ctor and copy ctor.
(read_partial_die): Update.
(dwarf2_cu::find_partial_die): Use ctor.