We are considering to make -fsanitize-memory-param-retval enabled by default so probably this patch is unnneded.
Details
Details
- Reviewers
EricWF vitalybuka - Group Reviewers
Restricted Project - Commits
- rGbeff64ee44ac: [msan][libcxx] Enable -fsanitize-memory-param-retval
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
From stuff which is not enabled by default -fsanitize-address-use-after-return=always can be useful
But it's also good candidate for being enabled by default in clang.
Comment Actions
I see errors in the MSAN CI build. The first failure was about 2 hours after you landed this patch.
https://buildkite.com/llvm-project/libcxx-ci/builds/10483
Could you check whether this change is the cause of the failure?
Comment Actions
[Github PR transition cleanup]
Abandoning since this needs work. Please reopen as a github PR if you still want to proceed!