diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-13 16:23:20 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-10-13 16:23:20 +0200 |
commit | a479c280441b91007c379b0b63b907926d54f930 (patch) | |
tree | 830342b8c8ed25a9c16aacac0aedc8aa477c2431 /common/Sections.ml | |
parent | 16315711d815580afa77f93424cc49c7362ab5b8 (diff) | |
download | compcert-a479c280441b91007c379b0b63b907926d54f930.tar.gz compcert-a479c280441b91007c379b0b63b907926d54f930.zip |
Changed the type of the debug sections with additional string.
Instead of using a string they now take an optional string, which
should be none if the backend is not the diab backend and the
corresponding section is the text section and Some s with s being
the custom section name else.
Bug 17392.
Diffstat (limited to 'common/Sections.ml')
-rw-r--r-- | common/Sections.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Sections.ml b/common/Sections.ml index 70311d4e..0910f2dc 100644 --- a/common/Sections.ml +++ b/common/Sections.ml @@ -28,9 +28,9 @@ type section_name = | Section_jumptable | Section_user of string * bool (*writable*) * bool (*executable*) | Section_debug_abbrev - | Section_debug_info of string + | Section_debug_info of string option | Section_debug_loc - | Section_debug_line of string + | Section_debug_line of string option | Section_debug_str type access_mode = |