summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cv2pdb.h: add missing #include <stdint.h> to build with VS 12.0Pierre-Marie de Rodat2018-03-231-0/+2
|
* CV2PDB::addDWARFEnum: provide a default name for enumeration typesPierre-Marie de Rodat2018-03-231-2/+3
| | | | | | | It seems that UDTs (User Defined Types) are required to have names, otherwise the resulting PDB type stream is considered to be corrupted. So just like what we do for structure types, provide a default type name for enumeration types.
* CV2PDB::addDWARFEnum: fix handling of big enumerated typesPierre-Marie de Rodat2018-03-231-12/+87
|
* CV2PDB::appendModifierType: uncomment code to add paddingPierre-Marie de Rodat2018-03-231-2/+2
| | | | | This prevents the generation of corrupt TPI streams, as padding is required at the end of leaves.
* Fix LF_ENUMERATE emission for values > 0x8000Pierre-Marie de Rodat2018-03-231-6/+10
|
* dwarflines: fix last insn. address computation for DW_LNE_end_sequencePierre-Marie de Rodat2018-03-231-2/+11
|
* Fix handling of discontinuous address ranges on X64Pierre-Marie de Rodat2018-03-231-2/+13
|
* Reduce complexity of best CFA lookupsPierre-Marie de Rodat2018-03-233-15/+101
| | | | | This turns a linear lookup into a logarithmic binary search, which improves a lot DWARF to PDB conversion for big programs.
* Do not crash when handling anonymous entitiesPierre-Marie de Rodat2018-03-231-0/+4
| | | | | C allows some types like enums or structs to be anonymous. Process them as if they had empty names.
* Fix pasto: restore DW_TAG_subroutine_type handling as opaque typePierre-Marie de Rodat2018-03-231-1/+1
|
* Ignore, but still allow block and string forms for DW_AT_const_valuePierre-Marie de Rodat2018-03-231-3/+16
|
* CV2PDB::addDWARFEnumType: use getDWARFBasicType for base type translationPierre-Marie de Rodat2018-03-231-12/+3
|
* CV2PDB::addDWARFBasicType: split primitive type handling outPierre-Marie de Rodat2018-03-232-58/+64
| | | | | | This isolates the part of the method that gets a type ID for a primitive type, so that it can be re-used elsewhere, in particular in enum translation.
* CV2PDB::addDWARFEnum: new, first attempt at enum types translationPierre-Marie de Rodat2018-03-234-0/+65
|
* CV2PDB::createTypes: materialize subranges as modifiers for base typesPierre-Marie de Rodat2018-03-231-1/+6
|
* CV2PDB::getDWARFSubrangeInfo: use an appropriate base typePierre-Marie de Rodat2018-03-231-1/+1
|
* CV2PDB::getDWARFSubrangeInfo: use language-specific default lower boundPierre-Marie de Rodat2018-03-233-3/+10
|
* CV2PDB: keep track of the default lower bound for the curret unitPierre-Marie de Rodat2018-03-232-0/+22
|
* DWARF_InfoData: track the DW_AT_language attributePierre-Marie de Rodat2018-03-232-0/+3
|
* CV2PDB::getDWARFTypeSize: fix computation from lower/upper boundsPierre-Marie de Rodat2018-03-231-1/+1
|
* CV2PDB::addDWARFArray: refactor to get lower bound info from DWARFPierre-Marie de Rodat2018-03-232-12/+35
| | | | | This also makes room to get the index type information, but this is not implemented yet.
* CV2PDB::addDWARFProc: turn uncontiguous ranges into smallest cvring onePierre-Marie de Rodat2018-03-211-1/+26
| | | | | This is a hack to workaround something that seems to be missing in CodeView: lexical blocks with non-contiguous address ranges.
* CV2PDB: store the current unit's base addressPierre-Marie de Rodat2018-03-212-0/+6
|
* DIECursor::readNext: use -1u for missing DW_AT_ranges attributesPierre-Marie de Rodat2018-03-211-2/+3
| | | | | 0 is actually a valid .debug_ranges offset, so use something really unlikely for the "no value" special constant instead.
* CV2PDB::createTypes: after formals processing, reset cursor to beginningPierre-Marie de Rodat2018-03-211-1/+0
| | | | | This will make it possible to process DIE's that are interleaved with DW_TAG_formal_parameter ones.
* CV2PDB::createTypes: handle out of order formal DIEs in subprogramsPierre-Marie de Rodat2018-03-211-1/+1
|
* DWARF: fix finding sibling with multiple consecutive end tagsRainer Schuetze2018-02-232-1/+3
|
* * DWARF: fix crash with AUX data in symbol tableRainer Schuetze2017-11-304-4/+16
| | | | * improve reallocation strategy
* build with /LARGEADDRESSAWARERainer Schuetze2017-10-091-0/+2
|
* * search VS2017 registry entries to find mspdb140.dllRainer Schuetze2017-09-026-37/+343
| | | | | | | * when using mspdb140.dll (VS2015) or later, use symbols to emit line numbers * translate S_UDT_V1 to V3 version * translate S_BLOCK_V1 to V3 version * remove "this" from delegate parameter list if inconsistent with procedure type
* fix "try DWARF after unsupport CodeView signature"Rainer Schuetze2017-08-221-2/+6
|
* try DWARF after unsupport CodeView signatureRainer Schuetze2017-08-191-1/+1
|
* fix building with VS2012 or earlierRainer Schuetze2017-06-182-8/+18
|
* * when using mspdb120.dll (VS2013) or later, do not emit view helpersRainer Schuetze2017-06-186-23/+93
| | | | * remove method declarations from struct or class records (they confuse mspdb*.dll if having forward references?)
* add mago support for AA with dmd >= 2.068Rainer Schuetze2017-05-148-44/+102
| | | | | | prefer struct over class for internal structs handle class/struct property "uniquename" mark source language as 'D' for dmd >= 2.072
* cleanup/ignoreRainer Schuetze2017-01-202-4/+3
|
* Version 0.39: do not assume sorted line numbers per segmentRainer Schuetze2017-01-205-26/+80
|
* bump version and document changesv0.38Rainer Schuetze2016-08-092-1/+9
|
* * do not uncompress names in field listsRainer Schuetze2016-08-093-20/+28
| | | | * copy symbol unmodified if uncompression fails
* Merge pull request #13 from marc-groundctl/masterRainer Schuetze2016-03-152-1/+5
|\ | | | | Truncate symbols that are too long
| * Truncate symbols that are too longMarc Aldorasi2016-03-142-1/+5
|/
* removed linker option for minimum required windows version for x64Rainer Schuetze2015-10-081-2/+0
|
* Merge pull request #11 from l0calh05t/masterRainer Schuetze2015-10-086-16/+145
|\ | | | | x64 fixes for issue #10
| * fixes #11 (style adjustments)l0calh05t2015-10-081-21/+23
| |
| * fixes #11 (fix for different paths on older VS versions on amd64)l0calh05t2015-10-071-15/+20
| |
| * fixes #11 (missing ExcludedFromBuild for x64 asm file in Win32 Platform)l0calh05t2015-10-071-1/+4
| |
| * initial commit of x64 fixesl0calh05t2015-10-076-4/+123
|/
* allow anonymous typedefsRainer Schuetze2015-09-071-1/+1
|
* add -debug option, some whitespace cleanupRainer Schuetze2015-09-074-37/+50
|
* bump version, document changesRainer Schuetze2015-06-172-1/+7
|