lto-plugin.c (cleanup_handler): Don't cleanup if debugging.

2009-11-04  Rafael Avila de Espindola  <espindola@google.com>

	* lto-plugin.c (cleanup_handler): Don't cleanup if debugging.

From-SVN: r153899
This commit is contained in:
Rafael Avila de Espindola 2009-11-04 15:45:31 +00:00 committed by Rafael Espindola
parent 57f5eef091
commit 1cddcdcac5
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2009-11-04 Rafael Avila de Espindola <espindola@google.com>
* lto-plugin.c (cleanup_handler): Don't cleanup if debugging.
2009-10-30 Rafael Avila de Espindola <espindola@google.com>
PR41871

View File

@ -527,6 +527,9 @@ cleanup_handler (void)
}
}
if (debug)
return LDPS_OK;
/* If we are being called from an error handler, it is possible
that the arguments file is still exists. */
t = asprintf (&arguments, "%s/arguments", temp_obj_dir_name);