Re: [Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-12-05 Thread Anna Zaks via lldb-commits
I like the version without "function" in it; you might be returning from a method. On Fri, Dec 2, 2016 at 12:15 PM, Filipe Cabecinhas < filcab+llvm.phabrica...@gmail.com> wrote: > .Case("stack-use-after-return", "Use of returned stack memory") > > > Maybe "Use of stack memory after (function)

Re: [Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-12-02 Thread Tim Hammerquist via lldb-commits
This commit is causing tests to fail in Darwin: TestReportData.AsanTestReportDataCase TestMemoryHistory.AsanTestCase http://lab.llvm.org:8080/green/job/lldb_build_test/22768/ http://lab.llvm.org:8080/green/job/lldb_build_test/22769/ FAIL: test_dwarf (TestReportData.AsanTestReportDataCase)

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-12-02 Thread Kuba (Brecka) Mracek via Phabricator via lldb-commits
kubabrecka added a comment. Thanks for reviewing this! Repository: rL LLVM https://reviews.llvm.org/D27017 ___ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-12-02 Thread Phabricator via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL288535: Support more report types in AddressSanitizerRuntime.cpp, re-word existing ones. (authored by kuba.brecka). Changed prior to commit: https://reviews.llvm.org/D27017?vs=79611=80123#toc

Re: [Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-12-02 Thread Filipe Cabecinhas via lldb-commits
.Case("stack-use-after-return", "Use of returned stack memory") Maybe "Use of stack memory after (function) return"? (i couldn't decide whether to include "function". Either delete it or delete the parens. This is a very minor nit, so I'm ok with keeping the current wording if you prefer that.

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-12-02 Thread Kuba (Brecka) Mracek via Phabricator via lldb-commits
kubabrecka added a comment. In https://reviews.llvm.org/D27017#611894, @filcab wrote: > LGTM > > (I commented on a minor nit. It might just be me, so feel free to keep the > current wording if you feel it's preferred) I'm not seeing this comment. Can you post it again?

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-12-02 Thread Filipe Cabecinhas via Phabricator via lldb-commits
filcab accepted this revision. filcab added a comment. LGTM (I commented on a minor nit. It might just be me, so feel free to keep the current wording if you feel it's preferred) https://reviews.llvm.org/D27017 ___ lldb-commits mailing list

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-11-29 Thread Filipe Cabecinhas via Phabricator via lldb-commits
filcab added a comment. I'd mostly use Anna's suggestions. Kuba: Can you remove the "detected" from the messages and refresh the patch, just so we can have one last look? Otherwise, if you think it's good enough, commit with these changes and we can do post-commit review.

Re: [Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-11-28 Thread Zachary Turner via lldb-commits
Not going to block the CL over this, but consider using llvm::StringSwitch<> for improving the readability of this rather large if / else block. On Mon, Nov 28, 2016 at 6:14 PM Anna Zaks via Phabricator via lldb-commits < lldb-commits@lists.llvm.org> wrote: > zaks.anna added a comment. > > Here

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-11-23 Thread Filipe Cabecinhas via lldb-commits
filcab added inline comments. Comment at: source/Plugins/InstrumentationRuntime/AddressSanitizer/AddressSanitizerRuntime.cpp:220 + } else if (description == "stack-overflow") { +return "Stack overflow detected (recursion too deep)"; + } else if (description ==

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-11-23 Thread Kuba Brecka via lldb-commits
kubabrecka added a comment. Thanks for these comments, I'll have them run by more people before committing this (I'm not a native English speaker). These really need to be as user-focused as possible, so I'm really against stuff like "not owned pointer", because that's not something we should

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-11-23 Thread Filipe Cabecinhas via lldb-commits
filcab added a comment. I have some minor fixes I'd like to see. If it's prefixed by "Nit: " it's a really minor one and I'm ok with it as is if that's what you prefer. Thank you, Filipe Comment at:

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-11-23 Thread Greg Clayton via lldb-commits
clayborg accepted this revision. clayborg added a comment. This revision is now accepted and ready to land. Looks fine. One question though: do we always have a shared library that contains the ASAN runtime? If so, then we can actually put the array of short to long description into the ASAN

[Lldb-commits] [PATCH] D27017: Support more report types in AddressSanitizerRuntime.cpp

2016-11-22 Thread Kuba Brecka via lldb-commits
kubabrecka created this revision. kubabrecka added reviewers: clayborg, jasonmolenda, jingham. kubabrecka added subscribers: lldb-commits, zaks.anna. kubabrecka set the repository for this revision to rL LLVM. kubabrecka added a project: Sanitizers. https://reviews.llvm.org/D27012 will add more