Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSAN should print warning when ptrace is unavailable and do not report false positives #728

Closed
mikea opened this issue Oct 12, 2016 · 1 comment

Comments

@mikea
Copy link
Contributor

mikea commented Oct 12, 2016

When ptrace is completely unavailable, rather than report false positives, LSAN should print appropriate warning.

@kcc
Copy link
Contributor

kcc commented Oct 13, 2016

Sent https://reviews.llvm.org/D25538 for review

llvm-beanz pushed a commit to llvm-beanz/llvm-submodules that referenced this issue Oct 13, 2016
Summary:
LeakSanitizer does not work with ptrace but currently it
will print warnings (only under verbosity=1) and then proceed
to print tons of false reports.
This patch makes lsan fail hard under ptrace with a verbose message.

google/sanitizers#728

Reviewers: eugenis, vitalybuka, aizatsky

Subscribers: kubabrecka, llvm-commits

Differential Revision: https://reviews.llvm.org/D25538

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@284171 91177308-0d34-0410-b5e6-96231b3b80d8
@kcc kcc closed this as completed Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants