llvm / llvm/llvm-project

[SSAF] Merge summary data for entities in ssaf-linker

Open
#208,121 2 comments 0 reactions 0 assignees View on GitHub
clang:ssaf
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

This PR introduces summary data aggregation at a single TU scope. For a given entity, each declaration can contribute to the summary data and we aggregate these contribution.
[SSAF] Properly handle contributors with multiple declarations
https://github.com/llvm/llvm-project/pull/204482

We need to implement aggregation also in ssaf-linker to cover the scenario where declarations in multiple different TUs contribute summary data.

We expect that most summaries will extract data from definitions, rather than just declarations but we need to develop this functionality nevertheless.

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked PR 204482 and then trace how ssaf-linker currently aggregates summary data across translation units. Done means declarations from different TUs can contribute to a single entity's summary data, including contributors with multiple declarations; the payload names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.