Skip to content

[llvm-profdata] Fails sometimes with quoted file names to deal with spaces in paths #137191

Open
@bartlettroscoe

Description

@bartlettroscoe

Description

When trying to deal with a project that uses spaces in its directory names, I came across a problem where I got errors like:

error: "./Utilities/KWIML/test/2827698.profraw": No such file or directory

where this was the first quoted file path passed in.

Are there automated tests for llvm-profdata (and the other llvm-xxx tools) that test if the can handle paths with spaces and quotes?

NOTE: I hit this problem while trying to summarize coverage for the CMake code-base itself. I can provide instructions for the latter that will be sure to reproduce this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    llvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions