Displaying 1 result from an estimated 1 matches for "display_hint".
2016 Jun 01
1
GDB pretty printers for LLVM ADTs
...o_string(self):\n"
.ascii " begin = self.val['BeginX']\n"
.ascii " end = self.val['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"
...
.as...