aboutsummaryrefslogtreecommitdiffstats
path: root/backend/PrintAsm.ml
Commit message (Collapse)AuthorAgeFilesLines
* Do not generate code for "inline definitions"Bernhard Schommer2017-04-071-1/+3
| | | | | | | | | ISO C99 states that "inline defintions", functions with inline specifier that are not extern, does not provide an external definition and another compilation unit can contain an external definition. Thus in the case of non-static inline functions no code should be generated. Bug 21343
* Remove unused openBernhard Schommer2017-02-061-1/+0
|
* Use 64 bit address in debug information.Bernhard Schommer2016-11-101-0/+1
| | | | | Address constants need to be 64bit also in the debug information. Bug 20335
* Activate advanced debug information for arm, ia32.Bernhard Schommer2016-06-281-3/+3
| | | | | | The configuration advanced debug is removed and now full debug information is also generated for ia32 and arm. Bug 17609
* Deactivate warning 27 and added back removed code.Bernhard Schommer2016-03-151-1/+1
| | | | | | The code was mostly there for documentation effort. So warning 27 is deactivated again. Bug 18349
* Code cleanup.Bernhard Schommer2016-03-101-4/+3
| | | | | | 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.
* First step to implemente address ranges for the gnu backend.Bernhard Schommer2015-10-151-3/+3
| | | | | | | | | 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.
* More verbose debug printer.Bernhard Schommer2015-10-141-1/+1
| | | | | | | | Like, for example the clang, CompCert now prints a more detailed descriptions of the debug information in the assembler file. For each abbreviation and debug entry the dwarf attributes and their encodings are added. Bug 17392.
* bug 17392: remove trailing whitespace in source filesMichael Schmidt2015-10-141-5/+5
|
* First try of debug information for gcc.Bernhard Schommer2015-10-021-3/+3
|
* Cleanup of now no longer needed functions.Bernhard Schommer2015-10-011-1/+0
|
* Only print locations for symbols that are present in the assembler.Bernhard Schommer2015-10-011-1/+2
|
* Change the way the debug sections are printed.Bernhard Schommer2015-09-281-10/+11
| | | | | | 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 printing the reference address for the LocRef and started refactoring oldBernhard Schommer2015-09-271-6/+1
| | | | | | | | Debuging code. The old functions to store the symbol for the Global variables and retrive this is no longer needed since the atom is stored in DebugInformation. Also the Debug.Abbrev module is no longer needed.
* Added support for the locations of stack allocated local variables.Bernhard Schommer2015-09-251-3/+5
| | | | | This commit adds furher support for location information for local variables and starts with the implementation of the debug_loc section.
* First version with computation of dwarf info from debug info.Bernhard Schommer2015-09-171-5/+4
| | | | | Introduced a new dwarf generation from the information collected in the DebugInformation and removed the old CtODwarf translation.
* Move more functionality in the new interface.Bernhard Schommer2015-09-161-7/+5
| | | | | | Added functions to add more information to the debuging interface, like the struct layout with offsets, bitifiled layout and removed the no longer needed mapping from stamp to atom.
* Revert "Startet implementation of new Debug interface."Bernhard Schommer2015-09-101-2/+2
| | | | This reverts commit 861292a6c5e58b4f78bef207c717b801b3fc1fed.
* Startet implementation of new Debug interface.Bernhard Schommer2015-09-061-2/+2
| | | | | | Added a new file debug/Debug.ml which will be the interface between for generating and printing the debuging information. Currently it contains only the code for the line directived.
* Added symbol functions for printing of the location for global variables.Bernhard Schommer2015-08-211-2/+6
|
* Do not search for high and low pc of inlined functions.Bernhard Schommer2015-07-021-1/+1
|
* Merged PrintAnnot into PrintAsmaux.Bernhard Schommer2015-05-141-3/+3
|
* Use globl also for global variables.Bernhard Schommer2015-05-071-1/+1
|
* Added translation fucntion for declarations and fundefinitions.Bernhard Schommer2015-03-231-4/+38
|
* Activating the printing of the debug information for supported architecture.Bernhard Schommer2015-03-191-2/+6
|
* Added function to convert C types into their dwarf represnation.Bernhard Schommer2015-03-181-1/+1
|
* Started implementing the printing functions for the debug info. Added a ↵Bernhard Schommer2015-03-161-1/+6
| | | | global target dependend option to activate the printing only for targets wher it works.
* Started integrating the debug printing in the common backend_printer.Bernhard Schommer2015-03-111-0/+1
|
* Removed unused sel_target, changed cygwin symbol names and changed the ↵Bernhard Schommer2015-02-191-3/+1
| | | | default function aligment to be target dependent.
* Added an elf prefix to all common elf functions in PrintAsmaux.Bernhard Schommer2015-02-181-4/+4
|
* Changed print_fun/var_info to be functions instead of booleans.Bernhard Schommer2015-02-181-4/+2
|
* Removed some style issues.Bernhard Schommer2015-02-181-65/+71
|
* Changed arm backend to the common backend printer.Bernhard Schommer2015-02-091-1/+1
|
* Changed the ASM printer of the powerpc to the generalized backend.Bernhard Schommer2015-02-051-0/+99