Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Profile] Add binary profile correlation for code coverage. #69493

Merged
merged 14 commits into from
Dec 14, 2023

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    3a394ce View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. fix correlator for coff.

    ZequanWu committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    7767844 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5cca07 View commit details
    Browse the repository at this point in the history
  3. format

    ZequanWu committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    44704f6 View commit details
    Browse the repository at this point in the history
  4. add llvm-cov and IR test

    ZequanWu committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    384ee6c View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. resolve conflict

    ZequanWu committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    fb20012 View commit details
    Browse the repository at this point in the history
  2. resolve conflict

    ZequanWu committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    61775c7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    37f5fc4 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    9f76629 View commit details
    Browse the repository at this point in the history
  2. Updated to use new section names __llvm_covdata and `__llvm_covname…

    …s` (or `.lprfcovdata` and `.lprfcovnames` on COFF) under binary correlation mode.
    
    The reason is that we don't want to rely on the bit in llvm profile version variable to indicate name/data sections are empty or not: llvm#71996. And simply making __llvm_prf_{data}/{names} sections not allocated in ELF does not make `&__stop___llvm_prf_data - &__start___llvm_prf_data == 0`. It still returns the size of the non-allocated sections. So, using different section names eliminate the need to perform runtime check for data/name section size.
    
    With that, there is no need to have VARIANT_MASK_BIN_CORRELATE bit. Clang side codegen changes are not longer necessary.
    ZequanWu committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    8fb0a77 View commit details
    Browse the repository at this point in the history
  3. fixup! format

    ZequanWu committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    1ee0053 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Configuration menu
    Copy the full SHA
    f677688 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. re-order macros in InstrProfData.inc so __llvm_cov* are together and …

    …reverted changes in tests that use debug info correlate
    ZequanWu committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    023a4a6 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    a30427f View commit details
    Browse the repository at this point in the history