aboutsummaryrefslogtreecommitdiffstats
path: root/common/Sections.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-10-13 16:23:20 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-10-13 16:23:20 +0200
commita479c280441b91007c379b0b63b907926d54f930 (patch)
tree830342b8c8ed25a9c16aacac0aedc8aa477c2431 /common/Sections.mli
parent16315711d815580afa77f93424cc49c7362ab5b8 (diff)
downloadcompcert-kvx-a479c280441b91007c379b0b63b907926d54f930.tar.gz
compcert-kvx-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.mli')
-rw-r--r--common/Sections.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Sections.mli b/common/Sections.mli
index 276fc047..6b1e56fa 100644
--- a/common/Sections.mli
+++ b/common/Sections.mli
@@ -27,9 +27,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 =