aboutsummaryrefslogtreecommitdiffstats
path: root/common/Sections.mli
diff options
context:
space:
mode:
authorBernhard Schommer <bernhardschommer@gmail.com>2015-10-16 13:06:09 +0200
committerBernhard Schommer <bernhardschommer@gmail.com>2015-10-16 13:06:09 +0200
commit24b4159b6a29328c529e0e59405e03ea192aa99e (patch)
tree4b39da911a2eb037e3c9fb3950d53bb0bd6a41b2 /common/Sections.mli
parent1e52bb2001964d87086cea00d0cb779e270b99ce (diff)
downloadcompcert-kvx-24b4159b6a29328c529e0e59405e03ea192aa99e.tar.gz
compcert-kvx-24b4159b6a29328c529e0e59405e03ea192aa99e.zip
Implemented the usage of DW_AT_ranges for non-contiguous address ranges.
The gcc produces DW_AT_ranges for non-contiguous address ranges, like compilation units containing functions which are placed in different ELF-sections or lexical scopes that are split up. With this commit CompCert also uses this DWARF v3 feature for gnu backend based targets. In order to ensure backward compability a flag is added which avoids this and produces debug info in DWARF v2 format. Bug 17392.
Diffstat (limited to 'common/Sections.mli')
-rw-r--r--common/Sections.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/Sections.mli b/common/Sections.mli
index 6b1e56fa..8a13fb8a 100644
--- a/common/Sections.mli
+++ b/common/Sections.mli
@@ -30,6 +30,7 @@ type section_name =
| Section_debug_info of string option
| Section_debug_loc
| Section_debug_line of string option
+ | Section_debug_ranges
| Section_debug_str
type access_mode =