aboutsummaryrefslogtreecommitdiff
path: root/lto-plugin/lto-plugin.c
diff options
context:
space:
mode:
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-04 15:45:31 +0000
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-04 15:45:31 +0000
commit675d72cac328333d39da00dee95cf78944ea02a3 (patch)
tree1fc1cc4c138af7badf89cf24bd4e57c1166bd19d /lto-plugin/lto-plugin.c
parent446a1e961a07bf1f495bf06e7c08363f0b6fa3de (diff)
2009-11-04 Rafael Avila de Espindola <espindola@google.com>
* lto-plugin.c (cleanup_handler): Don't cleanup if debugging. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'lto-plugin/lto-plugin.c')
-rw-r--r--lto-plugin/lto-plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c
index c92ac06cf2d..0be0b907420 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);