Skip to content

Provide a way to lock the current global XRay state #36399

Open
@llvmbot

Description

@llvmbot
Bugzilla Link 37051
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor

Extended Description

Currently, with the XRay API functions, it's easy to run into a situation where a currently installed implementation can be unceremoniously uninstalled. We should provide a stronger protocol for when we're attempting to select a new mode, and deprecate specific API functions deemed too dangerous to use.

The protocol should include locking the global state, to not allow for inadvertently interfering with a currently-installed mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaxray

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions