search for: regexpcollectionprettyprinter

Displaying 1 result from an estimated 1 matches for "regexpcollectionprettyprinter".

2016 Jun 01
1
GDB pretty printers for LLVM ADTs
...l['EndX']\n" .ascii " return begin.cast(gdb.lookup_type(\"char\").pointer()).string(length = end - begin)\n" .ascii "\n" .ascii " def display_hint (self):\n" .ascii " return 'string'\n" ... .ascii "pp = gdb.printing.RegexpCollectionPrettyPrinter(\"LLVMSupport\")\n" .ascii "pp.add_printer('llvm::SmallString', '^llvm::SmallString<.*>$', SmallStringPrinter)\n" ... .ascii "gdb.printing.register_pretty_printer(gdb.current_objfile(), pp)\n" .byte 0 .popsection )"); 2) inc...