Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
infosec-ecomp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cidre-public
Compilation
infosec-ecomp
Commits
224fc185
Commit
224fc185
authored
4 years ago
by
Wilke Pierre
Browse files
Options
Downloads
Patches
Plain Diff
Gestion un peu meilleure des exceptions
parent
0e3f1bee
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main.ml
+5
-0
5 additions, 0 deletions
src/main.ml
with
5 additions
and
0 deletions
src/main.ml
+
5
−
0
View file @
224fc185
...
@@ -181,6 +181,7 @@ let _ =
...
@@ -181,6 +181,7 @@ let _ =
end
;
end
;
let
compiler_res
=
let
compiler_res
=
try
pass_tokenize
input
>>=
fun
tokens
->
pass_tokenize
input
>>=
fun
tokens
->
pass_parse
tokens
>>=
fun
(
ast
,
_
)
->
pass_parse
tokens
>>=
fun
(
ast
,
_
)
->
pass_elang
ast
>>=
fun
ep
->
pass_elang
ast
>>=
fun
ep
->
...
@@ -200,6 +201,10 @@ let _ =
...
@@ -200,6 +201,10 @@ let _ =
pass_linear_dse
linear
lives
>>=
fun
linear
->
pass_linear_dse
linear
lives
>>=
fun
linear
->
run
"Linear after DSE"
!
linear_run_after_dse
exec_linear_prog
linear
;
run
"Linear after DSE"
!
linear_run_after_dse
exec_linear_prog
linear
;
pass_ltl_gen
linear
pass_ltl_gen
linear
with
e
->
let
emsg
=
Printexc
.
to_string
e
^
"
\n
"
^
Printexc
.
get_backtrace
()
in
record_compile_result
~
error
:
(
Some
emsg
)
"global"
;
Error
emsg
in
in
begin
begin
match
compiler_res
with
match
compiler_res
with
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment