This RFC builds on recent discussions in the <LLVM Qualification WG https://llvm.org/docs/QualGroup.html>. Its goal is to collect community perspectives on expectations and priorities for qualification of LLVM tools and libraries.
Motivation
Qualification of compilers, related tools, and runtime libraries is a recurring challenge in domains where functional safety standards such as IEC 61508 and ISO 26262 apply. A number of companies and projects use LLVM in these contexts, but approaches to qualification vary widely, and there is currently little shared guidance.
Over the past few months, a small group of contributors has been meeting once a month to explore whether and how LLVM could better support such use cases. We are still at an early, exploratory stage, without a defined scope or deliverables yet, though we have discussed some possible directions (see <meeting materials https://llvm.org/docs/QualGroup.html#meeting-materials>).
At the same time, we would also like to gather input from the broader community on expectations, priorities, and areas of interest. Input from the community will help us understand which areas truly matter to LLVM users.
Please keep in mind that we’d like to listen to expectations and requirements from the LLVM community, but we don’t have a dedicated funding or staff working full time on this, so there are limitations to what we can achieve. We cannot commit to delivering all requests. Depending on your feedback, we’ll consider whether to refine scope, identify pilot areas, or simply gather more knowledge.
Questions for Feedback
We would especially welcome your thoughts on the following:
Useful outputs
What kinds of outcomes would be most valuable?
(e.g., lightweight templates, traceability guidance, process examples, references to standards)
Relevant LLVM tools
Which tools are most relevant for qualification in your view?
(e.g., clang, clang-tidy, code coverage, others)
Relevant LLVM libraries
Which libraries are most relevant for qualification in your view?
(e.g., compiler-rt, libc++, libc, libc++abi, or other runtime components)
Areas of focus
Should qualification efforts focus more on compilers, runtime libraries, or supporting tools?
(e.g., compiler vs. runtime libraries, testing vs. documentation, qualification processes vs. supporting tools)
Expectations of such an effort
Given that this is a volunteer-driven, exploratory discussion, what would you realistically expect from it?
Scope and Boundaries
-
The purpose of this RFC is to collect perspectives and map expectations for qualification of LLVM components upstream.
-
It does not propose starting qualification work or deliverables for a specific project; nevertheless, inputs are welcome from specific projects, as they can help define and shape what value this group can provide to them.
-
Any future direction will depend on interest, feasibility, and available resources.
Note: Safety standards distinguish between tools and runtime libraries. Tools (e.g. compilers, analyzers) are qualified under tool qualification guidelines, while libraries are treated as software components that run in the safety-critical system and require measures like coverage analysis. For this RFC, we welcome input on both, even though the approaches differ.
Next Steps
-
Feedback here will help us understand whether and how LLVM could support broader LLVM community expectations on upstream qualification efforts for LLVM tools and libraries, and where collaboration might be most useful.
-
Please share your views, whether it’s a single priority, a tool you think matters most, or broader guidance. Even short comments are valuable.