Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
orc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GStreamer
orc
Commits
f5697e3e
Commit
f5697e3e
authored
Jul 13, 2010
by
David Schleef
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't unlink tmp file if debug flag is used
parent
639bcc01
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
orc/orccodemem.c
orc/orccodemem.c
+3
-1
orc/orccompiler.c
orc/orccompiler.c
+3
-1
orc/orcprogram-sse.c
orc/orcprogram-sse.c
+0
-3
orc/orcprogram.h
orc/orcprogram.h
+3
-0
No files found.
orc/orccodemem.c
View file @
f5697e3e
...
...
@@ -44,7 +44,9 @@ orc_compiler_allocate_codemem (OrcCompiler *compiler)
ORC_COMPILER_ERROR
(
compiler
,
"failed to create temp file"
);
return
;
}
unlink
(
filename
);
if
(
!
_orc_compiler_flag_debug
)
{
unlink
(
filename
);
}
free
(
filename
);
}
...
...
orc/orccompiler.c
View file @
f5697e3e
...
...
@@ -36,7 +36,8 @@ int orc_compiler_dup_temporary (OrcCompiler *compiler, int var, int j);
void
orc_compiler_check_sizes
(
OrcCompiler
*
compiler
);
static
char
**
_orc_compiler_flag_list
;
static
int
_orc_compiler_flag_backup
;
int
_orc_compiler_flag_backup
;
int
_orc_compiler_flag_debug
;
void
_orc_compiler_init
(
void
)
...
...
@@ -49,6 +50,7 @@ _orc_compiler_init (void)
}
_orc_compiler_flag_backup
=
orc_compiler_flag_check
(
"backup"
);
_orc_compiler_flag_debug
=
orc_compiler_flag_check
(
"debug"
);
}
int
...
...
orc/orcprogram-sse.c
View file @
f5697e3e
...
...
@@ -48,7 +48,6 @@ static OrcTarget sse_target = {
sse_get_flag_name
};
static
int
_orc_compiler_flag_debug
;
void
...
...
@@ -68,8 +67,6 @@ orc_sse_init (void)
orc_target_register
(
&
sse_target
);
orc_compiler_sse_register_rules
(
&
sse_target
);
_orc_compiler_flag_debug
=
orc_compiler_flag_check
(
"debug"
);
}
unsigned
int
...
...
orc/orcprogram.h
View file @
f5697e3e
...
...
@@ -605,6 +605,9 @@ extern int _orc_data_cache_size_level1;
extern
int
_orc_data_cache_size_level2
;
extern
int
_orc_data_cache_size_level3
;
extern
int
_orc_compiler_flag_backup
;
extern
int
_orc_compiler_flag_debug
;
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment