| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Hide the reference used internally behind the interface and added
some functions to access the needed values.
Bug 18394
|
|
|
|
|
|
| |
The printer for atom constants should also use the printer
for singleton objects.
Bug 18394
|
|
|
|
|
|
| |
Removed unused code, factored out common functions and added an
interface file.
Bug 18394
|
|
|
|
|
|
| |
The code was mostly there for documentation effort. So warning
27 is deactivated again.
Bug 18349
|
|
|
|
| |
This reverts commit bac2a0854ea51217690bc6f225da62053ed7ac06.
|
|
|
|
|
|
| |
The ofs parameter is no longer used. Adopted the proofs and ml
code using it.
Bug 18394
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
compatibility, and not "unsigned int", as previously implemented.
|
|
|
|
| |
The original code produces wrong results if res and al are the same register.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
On older version of the binutils the cfi directives are not always
supported so we only print cfi_sections if the corresponding .ini
setting is set to true.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Instead of having a function for each instruction we now use a
generic function to print the arguments.
Bug 17544.
|
|
|
|
|
|
| |
In a first step all the print commands for the names are replaced
by a more safe variant that avoids missing \".
Bug 17328
|
|
|
|
| |
Bug 17473
|
|
|
|
| |
Bug 17473
|
|
|
|
| |
Bug 17473.
|
|
|
|
|
|
| |
Since the stacksize is casted to signed int in the alloc frame
function large stacksize lead to assembler containing overflows.
Bug 17473.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
arm/TargetPrinter.ml
backend/CMparser.mly
backend/SelectLongproof.v
backend/Selectionproof.v
cfrontend/C2C.ml
checklink/Asm_printers.ml
checklink/Check.ml
checklink/Fuzz.ml
common/AST.v
debug/DebugInformation.ml
debug/DebugInit.ml
debug/DwarfPrinter.ml
debug/DwarfTypes.mli
debug/Dwarfgen.ml
exportclight/ExportClight.ml
ia32/TargetPrinter.ml
powerpc/Asm.v
powerpc/SelectOpproof.v
powerpc/TargetPrinter.ml
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
Instead of pushing strings around use the actual section. However
the string is still used in the Hashtbl.
Bug 17392.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
GCC prints all string larger than 3 characters in the debug_str
section which reduces the size of the debug information since entries
containing the same string now map to the same string in the
debug_str sections.
Bug 17392.
|
| |
| |
| |
| |
| | |
The base register for the stack allocated variables should be
r1 and not r2 under powerpc. Bug 17392
|
| |\
| | |
| | |
| | | |
Resolved conflicts in:configure powerpc/Asmexpand.ml
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also: implement __builtin_isel on non-EREF platforms with a branch-free instruction sequence.
Also: extend ./configure so that it recognizes "ppc64-" and "e5500-" platforms in addition to "ppc-".
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
The AST.ident type represents source-level identifiers as unique positive numbers. However, the mapping identifiers <-> AST.ident differs between runs of CompCert on different source files. This is problematic when we need to produce or recognize external functions and builtin functions with fixed names, for example:
* in $ARCH/Machregs.v to define the register conventions for builtin functions;
* in the VST program logic from Princeton to treat thread primitives specially.
So far, we used AST.ident_of_string to recover the ident associated with a string. However, this function is defined in OCaml and doesn't execute within Coq. This is a problem both for VST and for future executability of CompCert within Coq.
This commit replaces "ident" by "string" in the arguments of EF_external, EF_builtin, EF_inline_asm, EF_annot, and EF_annot_val. This provides stable names for externals and builtins, as needed. For inline asm and annotations, it's a matter of taste, but using strings feels more natural. EF_debug keeps using idents, since some kinds of EF_debug annotations talk about program variables.
|