This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][1/n] dwarf2out refactoring for early (LTO) debug
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>, gcc-patches at gcc dot gnu dot org
- Cc: jason at redhat dot com
- Date: Tue, 18 Aug 2015 12:32:35 -0700
- Subject: Re: [PATCH][1/n] dwarf2out refactoring for early (LTO) debug
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1508181615190 dot 19998 at zhemvz dot fhfr dot qr>
On 08/18/2015 07:20 AM, Richard Biener wrote:
This starts a series of patches (still in development) to refactor
dwarf2out.c to better cope with early debug (and LTO debug).
Awesome! Thanks.
Aldyh, what other testing did you usually do for changes? Run
the gdb testsuite against the new compiler? Anything else?
gdb testsuite, and make sure you test GCC with
--enable-languages=all,go,ada, though the latter is mostly useful while
you iron out bugs initially. I found that ultimately, the best test was
C++.
Pre merge I also bootstrapped the compiler and compared .debug* section
sizes in object files to make sure things were within reason.
+
+static void
+vmsdbgout_early_finish (const char *filename ATTRIBUTE_UNUSED)
+{
+ if (write_symbols == VMS_AND_DWARF2_DEBUG)
+ (*dwarf2_debug_hooks.early_finish) (filename);
+}
You can get rid of ATTRIBUTE_UNUSED now.
Aldy