There was no guarantee that the three threads haven't already exited by the
time the watchpoint is set.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Please see my comments.
| test/functionalities/watchpoint/hello_watchlocation/main.cpp | ||
|---|---|---|
| 20 ↗ | (On Diff #20786) | Please follow the existing naming convention here - g_barrier ? |
| 85 ↗ | (On Diff #20786) | My understanding the watchpoint is set for g_char_ptr variable but I don't see any command to set watchpoint - is watchpoint here set implicitly by lldb? |
| 85 ↗ | (On Diff #20786) | Very minor unrelated thing - do we need to free this memory? |
Comment Actions
Looks good.
| test/functionalities/watchpoint/hello_watchlocation/main.cpp | ||
|---|---|---|
| 21 ↗ | (On Diff #20789) | Please rename to g_barrier before submitting. |