diff options
author | Rafael Avila de Espindola <espindola@google.com> | 2009-11-04 15:45:31 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-11-04 15:45:31 +0000 |
commit | 1cddcdcac5828432683a159f43534e09606688f4 (patch) | |
tree | 1fc1cc4c138af7badf89cf24bd4e57c1166bd19d | |
parent | 57f5eef09163ea054b2a417f87da107b178e6ab0 (diff) | |
download | gcc-1cddcdcac5828432683a159f43534e09606688f4.zip gcc-1cddcdcac5828432683a159f43534e09606688f4.tar.gz gcc-1cddcdcac5828432683a159f43534e09606688f4.tar.bz2 |
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
-rw-r--r-- | lto-plugin/ChangeLog | 4 | ||||
-rw-r--r-- | lto-plugin/lto-plugin.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index 3342979..3667979 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -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 diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c index c92ac06..0be0b90 100644 --- a/lto-plugin/lto-plugin.c +++ b/lto-plugin/lto-plugin.c @@ -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); |