Update to http://reviews.llvm.org/rL243618.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | ||
---|---|---|
853 ↗ | (On Diff #33386) | I think it would be better to change SetUnixSignals to create the copy (or force the client side copy with some magic with rvalue references) because this error will happen almost every time somebody calls SetUnixSignals. |
source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | ||
---|---|---|
853 ↗ | (On Diff #33386) | If the platform is supposed to hold signals, which are not to be changed by its users, I would have it hand out std::shared_ptr<CONST UnixSignals> (or even const UnixSignals & ?). Then the users will be forced to make a copy if they want to do anything to them. |
source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | ||
---|---|---|
853 ↗ | (On Diff #33386) |
I think in my original discussion with Greg, we decided that it would be a good idea if we allow setting suppress/stop/notify for the platform signal set, and will be inherited by any process signal set created from it. |
We do want processes to have individual copies that are copied from the platform. Does this actually make a copy? I don't see the copy.
source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | ||
---|---|---|
2910 ↗ | (On Diff #33485) | Here's the copy. |