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

More debugging opportunities #834

Closed
marxin opened this issue Jul 12, 2017 · 5 comments
Closed

More debugging opportunities #834

marxin opened this issue Jul 12, 2017 · 5 comments

Comments

@marxin
Copy link

marxin commented Jul 12, 2017

Similar to #31 I would like to introduce sleep_after_init which is a good place to attach gdb to process that can eventually trigger a sanitizer issue. I know one can add sleep to a source base, but debugging complex scenario can be easier with that.

Will it be accepted by community?

@kcc
Copy link
Contributor

kcc commented Jul 12, 2017

why can't you start the process under gdb?

@marxin
Copy link
Author

marxin commented Jul 13, 2017

Sometimes make check is quite complicated stuff where e.g. a server is launched and then set of tests is done against the server.

@eugenis
Copy link
Contributor

eugenis commented Jul 14, 2017 via email

@marxin
Copy link
Author

marxin commented Jul 14, 2017

I've just done a review request:
https://reviews.llvm.org/D35409

dtzWill pushed a commit to llvm-mirror/compiler-rt that referenced this issue Aug 2, 2017
Summary: As mentioned in google/sanitizers#834, suggested option can be handy for debugging.

Reviewers: kcc

Reviewed By: kcc

Subscribers: llvm-commits, kubamracek

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@309854 91177308-0d34-0410-b5e6-96231b3b80d8
@marxin
Copy link
Author

marxin commented Aug 3, 2017

Done.

@marxin marxin closed this as completed Aug 3, 2017
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

3 participants