commit | 64d19542e78a43edb7ae26ea6762a2b1c360a916 | [log] [tgz] |
---|---|---|
author | Shivam Gupta <Shivam.Gupta2@amd.com> | Wed Jul 26 16:46:09 2023 +0530 |
committer | Shivam Gupta <Shivam.Gupta2@amd.com> | Wed Jul 26 16:47:17 2023 +0530 |
tree | 96b00444f44f6a4842e44bf97bf51da51b695461 | |
parent | 20c8f58c11d06d4a31fef5033ea5417fb99dfd0e [diff] |
[LIT] Added an option to llvm-lit to emit the necessary test coverage data, divided per test case This patch is the first part of https://llvm.org/OpenProjects.html#llvm_patch_coverage. We have first define a new variable LLVM_TEST_COVERAGE which when set, pass --per-test-coverage option to llvm-lit which will help in setting a unique value to LLVM_PROFILE_FILE for each RUN. So for example coverage data for test case llvm/test/Analysis/AliasSet/memtransfer.ll will be emitted as build/test/Analysis/AliasSet/memtransfer0.profraw Reviewed By: hnrklssn Differential Revision: https://reviews.llvm.org/D154280
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, or #llvm IRC channel on OFTC.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.