search for: current_objfile

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

2016 Jun 01
1
GDB pretty printers for LLVM ADTs
...g'\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) incbin inline script version: asm(R"(.pushsection ".debug_gdb_scripts", "MS", at progbits,1 .byte 4 .ascii "llvmSupport.inlined-script\n" .incbin "gdb-support.py" .byte 0 ....