search for: dwarfgenerator

Displaying 6 results from an estimated 6 matches for "dwarfgenerator".

2016 Nov 17
3
DWARF Generator
...tInMemory class to be able to load DWARF from. The idea is to generate a small blurb of DWARF, parse it using our built in DWARF parser and validate that the API calls we do when consuming the DWARF match what we expect. The original stand along DWARF generator class is in unittests/DebugInfo/DWARF/DWARFGenerator2.{h,cpp} in the patch attached. The original review suggested that I try to use the AsmPrinter and many of its associated classes to generate the DWARF. I attempted to do so and the AsmPrinter version is in lib/CodeGen/DwarfGenerator.{h,cpp} in the patch attached. This AsmPrinter based code steals...
2016 Nov 18
4
DWARF Generator
...tInMemory class to be able to load DWARF from. The idea is to generate a small blurb of DWARF, parse it using our built in DWARF parser and validate that the API calls we do when consuming the DWARF match what we expect. The original stand along DWARF generator class is in unittests/DebugInfo/DWARF/DWARFGenerator2.{h,cpp} in the patch attached. The original review suggested that I try to use the AsmPrinter and many of its associated classes to generate the DWARF. I attempted to do so and the AsmPrinter version is in lib/CodeGen/DwarfGenerator.{h,cpp} in the patch attached. This AsmPrinter based code steals...
2018 Mar 09
2
Why is there no EmitInt64 in AsmPrinter?
...ction appears to support 8-byte inputs. I dug into this a bit more and found a commit way back in 2010 (r100296) that removed the "EmitInt64" equivalent, with no explanation (presumably it was unused). I'd find this function quite helpful - I'm currently working on extending the DwarfGenerator unit-test helper class to support debug line, and I'd like to be able to write 8 byte values (e.g. to reflect DWARF64 lengths). I could trivially reinstate the function, but if there's a good reason not to, it would be good to know before I go to the effort of creating a review for it. Tha...
2016 Nov 18
2
DWARF Generator
...WARF from. The idea is to generate a small blurb >> of DWARF, parse it using our built in DWARF parser and validate that the >> API calls we do when consuming the DWARF match what we expect. The >> original stand along DWARF generator class is in >> unittests/DebugInfo/DWARF/DWARFGenerator2.{h,cpp} in the patch attached. >> The original review suggested that I try to use the AsmPrinter and many of >> its associated classes to generate the DWARF. I attempted to do so and the >> AsmPrinter version is in lib/CodeGen/DwarfGenerator.{h,cpp} in the patch >> attached...
2016 Nov 18
2
DWARF Generator
...generate a small > blurb > >> of DWARF, parse it using our built in DWARF parser and validate that the > >> API calls we do when consuming the DWARF match what we expect. The > >> original stand along DWARF generator class is in > >> unittests/DebugInfo/DWARF/DWARFGenerator2.{h,cpp} in the patch attached. > >> The original review suggested that I try to use the AsmPrinter and many > of > >> its associated classes to generate the DWARF. I attempted to do so and > the > >> AsmPrinter version is in lib/CodeGen/DwarfGenerator.{h,cpp} in th...
2018 Mar 20
0
Why is there no EmitInt64 in AsmPrinter?
...unction appears to support 8-byte inputs. I dug into this a bit more and found a commit way back in 2010 (r100296) that removed the "EmitInt64" equivalent, with no explanation (presumably it was unused). I'd find this function quite helpful - I'm currently working on extending the DwarfGenerator unit-test helper class to support debug line, and I'd like to be able to write 8 byte values (e.g. to reflect DWARF64 lengths). I could trivially reinstate the function, but if there's a good reason not to, it would be good to know before I go to the effort of creating a review for it. Than...