There's no automated test for this, as I don't see any existing tests for creating minidumps. I have tried it locally, and it works fine even when the directory name has a space in it.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Seems reasonable, but I have a concern about the cc1 line being replicable
clang/lib/Driver/ToolChains/Clang.cpp | ||
---|---|---|
5159 | I guess I would remove this ifdef as well and adjust the comment to indicate that this only controls the location of some kinds of crash dumps for some platforms. | |
llvm/lib/Support/Signals.cpp | ||
46 | I guess the one question I have is, should we have these ifdefs? Thinking about it, we generally want the -cc1 line to be platform independent. You should be able to take a cc1 line from Windows and run it on Linux. That is our typical crash reproduction work flow. With that in mind, I think we need this cl::opt on all platforms, even if it does nothing on Linux. |
I guess I would remove this ifdef as well and adjust the comment to indicate that this only controls the location of some kinds of crash dumps for some platforms.