[cfe-dev] Can one control where clang writes .gcda coverage files? (to avoid crash)
Eric Christopher
echristo at apple.com
Thu Mar 22 15:43:05 PDT 2012
On Mar 22, 2012, at 9:35 AM, Sean McBride <sean at rogue-research.com> wrote:
> I consider this an llvm/clang bug; llvm_gcda_start_file() should at the very least handle the error gracefully, write no coverage, and not crash. Do you concur?
Agreed.
> Shall I file a bug?
Please.
> Any workaround suggestions?
No, but it should be reasonably simple to hack it to use "getcwd()" if the path doesn't exist so wouldn't take long to fix up.
-eric
More information about the cfe-dev
mailing list