Skip to content

Tracking issue for -Z profile  #42524

Closed as not planned
Closed as not planned

Description

@alexcrichton

This is intended to be a tracking issue for the profiling feature, built on the gcov-style support in LLVM first added in #38608 and later rebased in #42433.

Activity

  1. added
    B-unstable
    T-dev-tools
    on Jun 8, 2017
  2. added
    C-tracking-issue
    on Jul 22, 2017
  3. steveklabnik commented on Dec 25, 2019

    @steveklabnik
    Contributor

    Triage: not aware of any major move to stabilize this.

  4. glandium commented on Feb 7, 2020

    @glandium
    Contributor

    Is it expected that this doesn't work with --release?

  5. tylerhawkes commented on Oct 8, 2020

    @tylerhawkes

    Is there a way to change the path that the tests output to? I want to use this on some code that is cross compiled and needs to run on a device that only has a few writable paths. I'm currently getting this to work by replacing /target/aarch64... with ./arget/aarch64... in the binary since we can't change the length of the string.

    I've never worked on the compiler before, but an option for this would be very useful.

  6. added
    T-compiler
    S-tracking-needs-summary
    and removed
    T-dev-tools
    on Mar 17, 2022
  7. added
    A-CLI
    on Mar 5, 2023
  8. added a commit that references this issue on Nov 1, 2024
  9. added a commit that references this issue on Nov 1, 2024
  10. added a commit that references this issue on Nov 1, 2024
  11. added a commit that references this issue on Nov 2, 2024
  12. workingjubilee commented on Nov 9, 2024

    @workingjubilee
    Member

    Removed: #131829

  13. added
    A-code-coverage
    and removed
    T-compiler
    on Nov 9, 2024
  14. whitequark commented on Nov 9, 2024

    @whitequark
    Contributor

    Aw, that's unfortunate.

  15. tshepang commented on Nov 9, 2024

    @tshepang
    Member
  16. whitequark commented on Nov 9, 2024

    @whitequark
    Contributor

    As far as I understand there's no replacement?

  17. tshepang commented on Nov 9, 2024

    @tshepang
    Member

    was thinking this was for branch coverage, which has since been implemented

  18. whitequark commented on Nov 9, 2024

    @whitequark
    Contributor

    Oh. I missed that then!

  19. workingjubilee commented on Nov 9, 2024

    @workingjubilee
    Member

    @whitequark Yes, -Cinstrument-coverage should work and supports the llvm-cov style of handling coverage: https://doc.rust-lang.org/nightly/rustc/instrument-coverage.html

  20. whitequark commented on Nov 10, 2024

    @whitequark
    Contributor

    Oh that's fantastic work =^_^=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CLIA-code-coverageB-unstableC-tracking-issueS-tracking-needs-summary

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions