Skip to content

Make lld's -gdb-index work without -ggnu-pubnames #34168

@rui314

Description

@rui314
Bugzilla Link 34820
Version unspecified
OS All
CC @dwblaikie,@emaste,@MaskRay,@nico,@pogo59,@pawelsopensource,@Trass3r

Extended Description

Currently, lld's -gdb-index doesn't work without adding -ggnu-pubnames to the compiler command line. Looks like GNU gold can create a correct .gdb_index section without that compiler flag.

We want to improve lld so that it can create a .gdb_index section without passing -ggnu-pubnames to compilers.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions