This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][1/n] dwarf2out refactoring for early (LTO) debug


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]