Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frama Clang
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Stefan Gränitz
Frama Clang
Commits
c3fd6db0
Commit
c3fd6db0
authored
3 years ago
by
Michele Alberti
Committed by
Virgile Prevosto
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply suggestions from review
parent
51c3bfce
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
frama_Clang_option.ml
+6
-6
6 additions, 6 deletions
frama_Clang_option.ml
frama_Clang_option.mli
+3
-3
3 additions, 3 deletions
frama_Clang_option.mli
with
9 additions
and
9 deletions
frama_Clang_option.ml
+
6
−
6
View file @
c3fd6db0
...
...
@@ -60,14 +60,14 @@ let pp_unmangling_functions fmt =
let
()
=
Datatype
.
String
.
Hashtbl
.
add
unmangling_functions
"none"
(
"keep mangled names"
,
f
un
id
->
id
)
unmangling_functions
"none"
(
"keep mangled names"
,
F
un
.
id
)
module
Unmangling
=
String
(
struct
let
option_name
=
"-cxx-unmangling"
let
help
=
"how to pretty-print mangled symbols. Use -unmangling help to list \
"how to pretty-print mangled symbols. Use
`-cxx
-unmangling help
'
to list \
available options"
let
arg_name
=
"s"
let
default
=
"none"
...
...
@@ -97,14 +97,14 @@ let get_unmangling_function () =
else
fatal
"cannot get current unmangling function: \
Frama-C is not supposed to run analyses if `-unmangling help' is set "
Frama-C is not supposed to run analyses if `-
cxx-
unmangling help' is set "
module
UnmanglingFull
=
Bool
(
struct
let
default
=
false
let
option_name
=
"-cxx-demangling-full"
let
help
=
"displays identifiers with their full C++ name. \
OBSOLE
TE: use -unmangling fully-qualified instead)"
DEPRECA
TE
D
: use
-cxx
-unmangling fully-qualified instead)"
end
)
let
()
=
Parameter_customize
.
set_negative_option_name
""
...
...
@@ -116,7 +116,7 @@ module UnmanglingShort =
let
help
=
"displays identifiers with their C++ short name \
(without qualifiers). \
OBSOLE
TE: use -unmangling without-qualifier instead"
DEPRECA
TE
D
: use
-cxx
-unmangling without-qualifier instead"
end
)
let
()
=
Parameter_customize
.
set_negative_option_name
""
...
...
@@ -126,7 +126,7 @@ module UnmanglingNo =
let
default
=
false
let
option_name
=
"-cxx-keep-mangling"
let
help
=
"displays identifiers with their mangled name \
OBSOLE
TE: use -unmangling none instead"
DEPRECA
TE
D
: use
-cxx
-unmangling none instead"
end
)
let
add_unmangling_option
s
_
new_flag
=
...
...
This diff is collapsed.
Click to expand it.
frama_Clang_option.mli
+
3
−
3
View file @
c3fd6db0
...
...
@@ -27,12 +27,12 @@ module Clang_command: Parameter_sig.String
module
Clang_extra_args
:
Parameter_sig
.
String_list
(** state of the -unmangling option. *)
(** state of the
-cxx
-unmangling option. *)
module
Unmangling
:
Parameter_sig
.
String
(** [add_unmangling_function key descr f] registers [f] as an unmangling
function, activated by [-unmangling key]. [descr] will be displayed
along with [key] in the [-unmangling help] output.
function, activated by [-
cxx-
unmangling key]. [descr] will be displayed
along with [key] in the [-
cxx-
unmangling help] output.
*)
val
add_unmangling_function
:
string
->
string
->
(
string
->
string
)
->
unit
...
...
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