Skip to content

integrate reachability map computation with export #2179

@nikomatsakis

Description

@nikomatsakis

Currently, we build up a reachability map as a pre-pass and then use this to avoid emitting metadata we don't have to emit. I was wondering if it would be possible instead to emit the metadata in a "DFS" fashion, wherein we never build a reachability map but instead just start by emitting metadata for exported/inlined things and then gradually emit metadata for other things that are referenced from those.

@marijnh does this seem plausible or is there an obvious reason it wouldn't work?

Metadata

Metadata

Assignees

Labels

A-linkageArea: linking into static, shared libraries and binariesC-cleanupCategory: PRs that clean code up or issues documenting cleanup.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions