aboutsummaryrefslogtreecommitdiffstats
path: root/debug/DebugInit.ml
Commit message (Collapse)AuthorAgeFilesLines
* Introduced configuration variable for gnu systems.Bernhard Schommer2017-02-131-7/+6
| | | | | | | The variable gnu_toolchain is true if a gnu toolchain is used and false in all other cases. The variable avoids the explicit test whether the system string is diab and should be easier to change. Bug 20521.
* Simplified DebugInformation interface.Bernhard Schommer2017-02-061-33/+2
| | | | | Instead of exporting and setting all functions we just fill the struct already in DebugInformation with the correct functions.
* Use quoted strings.Bernhard Schommer2017-01-181-5/+6
| | | | | | Instead of escaping all newlines etc for the help options use quoted strings. Bug 19872
* Refactored debugging options.Bernhard Schommer2016-10-141-2/+36
| | | | | | | The options controlling the generation of debugging information are now moved into the Debug module. Futhermore the -gdepth options are replaced in favor of a more gcc compatible version. Bug 20193
* Activate advanced debug information for arm, ia32.Bernhard Schommer2016-06-281-1/+1
| | | | | | The configuration advanced debug is removed and now full debug information is also generated for ia32 and arm. Bug 17609
* Added an interface file for DebugInformation.Bernhard Schommer2016-03-181-1/+1
| | | | | | The interface hides the implementation details, like the huge number of Hashtbls from the rest of the implementatio. Bug 18394
* Code cleanup.Bernhard Schommer2016-03-101-6/+0
| | | | | | Removed some unused variables, functions etc. and resolved some problems which occur if all warnings except 3,4,9 and 29 are active. Bug 18394.
* Fixed regression introduce by merge of PR#69.Bernhard Schommer2015-12-031-0/+1
| | | | | | | Since the identifier of a function definition and of its declaration are equal we only should remove functions if the function iteself is removed. Bug 17724.
* Implemented the usage of DW_AT_ranges for non-contiguous address ranges.Bernhard Schommer2015-10-161-0/+1
| | | | | | | | | | 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.
* First step to implemente address ranges for the gnu backend.Bernhard Schommer2015-10-151-8/+9
| | | | | | | | | In contrast to the dcc, the gcc uses address ranges to express non-contiguous range of addresses. As a first step we set the start and end addresses for the different address ranges for the compilation unit by using the start and end addresses of functions. Bug 17392.
* Changed definition of implem for debug information.Bernhard Schommer2015-10-121-62/+40
| | | | | | | Instead of making each filed mutuable we use a reference to a record of type implem. Now only the default implementation and the default debug information need to be upated to add a new function. Bug 17392.
* Unified function for adding the atom identifier.Bernhard Schommer2015-10-121-6/+2
| | | | | | | Instead of defining two functions for adding the mapping from atom to debug id we use one function which then sets the corresponding values. Bug 17392.
* Ensure that there are file directives for all files used in the debugBernhard Schommer2015-10-041-1/+4
| | | | information.
* First try of debug information for gcc.Bernhard Schommer2015-10-021-2/+6
|
* Started implementation of gnu compatible debug information.Bernhard Schommer2015-10-021-1/+5
|
* Only print locations for symbols that are present in the assembler.Bernhard Schommer2015-10-011-2/+4
|
* Remove unused globals also from the debug informations.Bernhard Schommer2015-10-011-2/+4
|
* Deactivate the debug functions for none advanced targets.Bernhard Schommer2015-09-291-1/+1
|
* Change the way the debug sections are printed.Bernhard Schommer2015-09-281-5/+9
| | | | | | If a user uses the #pragma use_section for functions the diab linker requires a separate debug_info section for each entry. This commit adds functionality to emulate this behavior.
* Added location for the formal parameters and move the end of allBernhard Schommer2015-09-281-2/+5
| | | | scopes before the last statement.
* More refactoring of the Debug Information.Bernhard Schommer2015-09-271-0/+73
In order to remove unnecessary dependecies the implemenation type is made and the DebugInit file initializes the fields in the record. This allows it to move more functions behind the Debug interface without introducing circular dependencies.