diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2017-02-19 19:56:16 +0100 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2017-02-19 19:56:16 +0100 |
commit | 2994087f111a1fc8e9d52cb9370dfdd9c0157f00 (patch) | |
tree | da992238ec64cfa8de0a9462ba0aa7634727dbc4 /cfrontend | |
parent | aa59d2dd11570e8cea3d8c429b94acf1001e2cc6 (diff) | |
download | compcert-2994087f111a1fc8e9d52cb9370dfdd9c0157f00.tar.gz compcert-2994087f111a1fc8e9d52cb9370dfdd9c0157f00.zip |
Added gcc noinline attribute.
The noinline attribute prevents functions from inlining.
Diffstat (limited to 'cfrontend')
-rw-r--r-- | cfrontend/C2C.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cfrontend/C2C.ml b/cfrontend/C2C.ml index eecda71b..3bd1eea0 100644 --- a/cfrontend/C2C.ml +++ b/cfrontend/C2C.ml @@ -271,6 +271,7 @@ let attributes = [ ("packed", Cutil.Attr_struct); (* function-related *) ("noreturn", Cutil.Attr_function); + ("noinline",Cutil.Attr_function); (* name-related *) ("section", Cutil.Attr_name); ("unused", Cutil.Attr_name) |