- 20 Jun, 2006 40 commits
-
-
Eric Pouech authored
-
Eric Pouech authored
When several debug formats (eg stabs & dwarf2) exist in the same module, allow to load them all (this is needed when different compilation units are compiled with different debug options).
-
Eric Pouech authored
-
Eric Pouech authored
-
Eric Pouech authored
Walking the whole lot, not doing anything interesting apart from traversing the data.
-
Eric Pouech authored
-
Eric Pouech authored
- split the data structures for walking through the data (abbrev, cu... -> traverse_ctx) and data manipulation/loading (-> parse_ctx) - created dwarf2_parse_compilation_unit() for clarity - added section structure to gather information about all ELF sections related to all dwarf2 sections (more to come)
-
Eric Pouech authored
- correctly set size & offsets for regular udt members - first shot at bitfields for udt members
-
Eric Pouech authored
- properly handling function blocks - handling of variables inside of blocks (either on stack, or in a register, or relative to the frame register if any) - added dwarf2_subprogram_t structure so that we can pass around relevant information for function parsing
-
Eric Pouech authored
-
Eric Pouech authored
- added the ability to tell to add_func_local whether we're adding a local variable or a parameter (and removed the black magic we were using) - we can now address variables defined as an offset to a register
-
Eric Pouech authored
Offset the addresses for global symbols (func & variables) by the base image of the corresponding module.
-
Eric Pouech authored
-
Eric Pouech authored
-
Eric Pouech authored
- various fixes to follow better the functions definition (nesting, subroutines...) - don't directly parse types referenced by a subprogram, they'll be loaded anyway when needed
-
Eric Pouech authored
- put back the block attribute parsing - added dwarf2_compute_location to properly decode a location (at least starting it)
-
Eric Pouech authored
- rewrote all entities loading to make use of new dwarf2_debug_info_t scheme - commented out the location parsing which is an ugly hack
-
Eric Pouech authored
- add some helpers for the rewrite - module is now part of the dwarf2_parse_context
-
Eric Pouech authored
Removed unused type references scheme that we'll implement using a different scheme in next patches.
-
Eric Pouech authored
Merge into a single function the struct/class/union parsing.
-
Eric Pouech authored
- now loading the debug info entries into specific structures - this will help writing new functions - this will allow handling of forward references
-
Eric Pouech authored
- added a pool for memory allocation when parsing a compilation unit - now using the brand new sparse array for the abbrev table
-
Eric Pouech authored
-
Eric Pouech authored
-
Eric Pouech authored
-
Eric Pouech authored
-
Eric Pouech authored
- removed lookup for name for the const modifier - hard wire dwarf-reference to our pointer types
-
Eric Pouech authored
- we should set the module's symtype upon success - removed unneeded bRet variable
-
Eric Pouech authored
- AT_byte_size can be larger than a single byte (especially for enums) - added missing enumeration type parsing
-
Eric Pouech authored
Added types_get_real_type() to get rid of typedef information, and access the real underlying type.
-
Juan Lang authored
-
Jason Green authored
-
Jason Green authored
- NVidia allows "const vec4 = {1.0, 2.0, 3.0, 4.0};", even though that's not part of the spec. - It should be "const vec4 = vecr4(1.0, 2.0, 3.0, 4.0);" - This patch fixes this for D3DSIO_DEF and D3DSIO_DEFI.
-
James Hawkins authored
-
Ge van Geldorp authored
-
Ge van Geldorp authored
-
Mikołaj Zalewski authored
-
Mikołaj Zalewski authored
-
Saulius Krasuckas authored
-
Mikołaj Zalewski authored
-