diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-02-24 18:06:23 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-02-24 18:06:23 +0100 |
commit | 3609ee93e39f4896d749640760f82abdcde33fed (patch) | |
tree | ab2233664ba2dc1587bd58e61c174171c6349fed /common/Sections.mli | |
parent | f64f6374c4b9db9f1111f272d842a625f0507ae6 (diff) | |
download | compcert-kvx-3609ee93e39f4896d749640760f82abdcde33fed.tar.gz compcert-kvx-3609ee93e39f4896d749640760f82abdcde33fed.zip |
thread local declarations now work
Diffstat (limited to 'common/Sections.mli')
-rw-r--r-- | common/Sections.mli | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/Sections.mli b/common/Sections.mli index bc97814d..e882f042 100644 --- a/common/Sections.mli +++ b/common/Sections.mli @@ -18,7 +18,8 @@ type section_name = | Section_text - | Section_data of bool (* true = init data, false = uninit data *) + | Section_data of bool (* true = init data, false = uninit data *) + * bool (* thread local? *) | Section_small_data of bool | Section_const of bool | Section_small_const of bool @@ -46,7 +47,7 @@ val define_section: -> ?writable:bool -> ?executable:bool -> ?access:access_mode -> unit -> unit val use_section_for: AST.ident -> string -> bool -val for_variable: Env.t -> AST.ident -> C.typ -> bool -> +val for_variable: Env.t -> AST.ident -> C.typ -> bool -> bool -> section_name * access_mode val for_function: Env.t -> AST.ident -> C.attributes -> section_name list val for_stringlit: unit -> section_name |