| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ /
| |
| |
| |
| | |
Since files without function definition contain no function in the
Section_text the filenum would be empty otherwise.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Debug locations
|
| | |
| | |
| | |
| | | |
the code more robust and added indentation for convertCompositeDef
|
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
scopes before the last statement.
|
| | |
| | |
| | |
| | | |
purpose.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
This commit adds furher support for location information for local
variables and starts with the implementation of the debug_loc section.
|
| | |
| | |
| | |
| | |
| | | |
In order to avoid the usage of too many labels we replace the
debug statements during the Asmexpand phase.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Local variables are now added with bogus lexical scopes to reflect
the actually lexical scopes. Also this commit fixes assembler problems
of the das when a user section with the name ".text" is defined.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of creating separate annotations for the local variables
we call the Debug.add_lvar_scope and we construct a mapping from
function id + scope id to scope information.
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
debug/CtoDwarf.ml
debug/DwarfPrinter.ml
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Introduced a new dwarf generation from the information collected in
the DebugInformation and removed the old CtODwarf translation.
|
| | | |
| | | |
| | | |
| | | | |
This reverts commit 861292a6c5e58b4f78bef207c717b801b3fc1fed.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Merge branch 'master' into debug_locations
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Atomic builtins
|
| | | | |
| | | | |
| | | | |
| | | | | |
for the rlwinm.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
the atomics.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Instead of introducing a new bne instruction in Asm.v and the TargetPrinter.ml
I use the equivalent bf instruction. The duplicated code is due to unused return
values of builtins. Now we only emit the additional code for the return value if
the return value is used instead of duplicating the whole emiting sequence.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In order to avoid clashes during register allocation etc. The
builtins now use fixed registers and mark additional registers as
destroyed for temporaries.
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \
| | | |_|/
| | |/| | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The new __builtin_atomic_compare_exchange(int *ptr,int *exp,int *dsr);
writes dsr into ptr if ptr is equal to exp and returns true if
ptr is not equal to exp it writes ptr into exp and returns false.
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
powerpc/CBuiltins.ml
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Implement the new __builtin_atomic_load(int *a, int *b); which stores
*a in *b. This differs from the atomic_load of the GCC, since the PPC
ISA manual states that you must jump before the load again if it fails.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The new builtin __builtin_atomic_exchange(int *a, int *b, int *c)
stores *b in *a and sets *c to the old value of *a.
|
| |_|/ / /
|/| | | | |
|
| |/ / /
|/| | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | | |
The builtin_isel function takes a _Bool as first argument and returns
either the second or the third depending on the value of the _Bool.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This builtins can be used to get the call frame address and the return
address. To correctly compute the load address of the return address
the allocframe is extended to contain the offset of the return address.
|
| | | |
|
| |/
|/|
| |
| |
| |
| | |
The cache instructions need no special constraint on the address
argument. Therefore also the generation of the address is no longer
needed.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This commit adds a builtin function for the mbar instruction.
|
| |
| |
| |
| |
| |
| | |
This commit adds a builtin for the dcbz instructions. Additionally
the dcbt,dcbtst,dcbtls and icbtls instruction are changed to their
actually form all taking one additional register in Asm.v.
|