Skip to content
  • Johnny Chen's avatar
    Add an additional formatter class RecursiveDecentFormatter which prints the · 36d7d916
    Johnny Chen authored
    value and the decendents.  For an example,
    
    rdf = lldbutil.RecursiveDecentFormatter(indent_child=2)
    print rdf.format(g_table)
    
    produces:
    
    (const char **[2]) g_table = 0x00000001055a80f0 (location)
      (const char **) [0] = 0x00000001055a8080
        (const char *) *[0] = "Sunday"
      (const char **) [1] = 0x00000001055a80c0
        (const char *) *[1] = "Monday"
    
    llvm-svn: 135815
    36d7d916
Loading