search for: debug_gdb_scripts

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

2016 Jun 01
1
GDB pretty printers for LLVM ADTs
...s would be very annoying - but Clang's ASTs, LLVM IR nodes, etc might change often enough that this approach would come up for users in this situation). Also having to go in and another line whenever we add other scripts - Clang pretty printers, LLD pretty printers, etc, would be unfortunate. .debug_gdb_scripts <https://sourceware.org/gdb/onlinedocs/gdb/dotdebug_005fgdb_005fscripts-section.html#dotdebug_005fgdb_005fscripts-section> provides a way to load these scripts on demand, which would ensure that we didn't need to update each of our local .gdbinit files every time a new set of pretty prin...
2018 Feb 08
2
LLD: targeting cygwin
...NOLOAD) : { *(.zdebug_ranges) } /* DWARF 4. */ .debug_types BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_types .gnu.linkonce.wt.*) } .zdebug_types BLOCK(__section_alignment__) (NOLOAD) : { *(.zdebug_types .zdebug.gnu.linkonce.wt.*) } /* For Go and Rust. */ .debug_gdb_scripts BLOCK(__section_alignment__) (NOLOAD) : { *(.debug_gdb_scripts) } .zdebug_gdb_scripts BLOCK(__section_alignment__) (NOLOAD) : { *(.zdebug_gdb_scripts) } } On Wed, Feb 7, 2018 at 6:24 PM, Rui Ueyama <ruiu at google.com> wrote: > COFF lld doesn't support the linker sc...
2018 Feb 09
0
LLD: targeting cygwin
...4. */ > .debug_types BLOCK(__section_alignment__) (NOLOAD) : > { > *(.debug_types .gnu.linkonce.wt.*) > } > .zdebug_types BLOCK(__section_alignment__) (NOLOAD) : > { > *(.zdebug_types .zdebug.gnu.linkonce.wt.*) > } > /* For Go and Rust. */ > .debug_gdb_scripts BLOCK(__section_alignment__) (NOLOAD) : > { > *(.debug_gdb_scripts) > } > .zdebug_gdb_scripts BLOCK(__section_alignment__) (NOLOAD) : > { > *(.zdebug_gdb_scripts) > } > } > > On Wed, Feb 7, 2018 at 6:24 PM, Rui Ueyama <ruiu at google.com> wrote:...
2018 Feb 07
0
LLD: targeting cygwin
COFF lld doesn't support the linker script at the moment, and I'm sad to say that it is very unlikely to support that in the future. Linker script support is so huge that I can't imagine we really want it for COFF. GNU BFD linker supports it because the linker is built as an interpreter for the built-in linker script (and that's one of the reasons why GNU linker is by far more
2018 Feb 07
2
LLD: targeting cygwin
Hello, I have a user who is trying to get LLD to link for the cygwin target: https://github.com/zig-lang/zig/issues/751 Currently the issue they are running into is needing to define a linker script, but the COFF driver (or MinGW driver) does not have support for that. Is there documentation or advice for how to use LLD to link for cygwin? As a starting point, which driver to use? Regards,
2016 Dec 20
1
GDB pretty printers for LLVM ADTs
> On Dec 20, 2016, at 9:55 AM, David Blaikie via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Dandy :) > > I looked into ways to do this for the GDB visualizers - but was unable to come up with a totally automated solution, unfortunately. I've wanted the same. Best I could think of was to embed them (or a reference to them) in the binary for the debugger to look at.