Skip to content

Kernel outlines don't contain enough const info for modular error checking / compilation #36635

@vsmenon

Description

@vsmenon

DDK and modular error checking assumes that kernel outlines contain full const info. This allows tools to handle consts at a modular level without needing the whole program or being on the build critical path. (This is how analyzer summaries / DDC works.)

Currently, kernel outlines don't appear to distinguish between a missing constant (?) and a null constant, so DDK builds will trigger unexpected null errors at runtime today.

Possibilities for 2.3:

  • Use full kernel files for dependencies instead for now.
  • Drop the const-update from 2.3.
  • Fix issues around consts in outline.

We're exploring the first for now. If it's not a significant perf regression, it's the easiest path.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onlegacy-area-front-endLegacy: Use area-dart-model instead.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions