Most responsible climbers bring something with them to pack it out, but there are some irresponsible ones that do what the comment above mentioned. That is the exception, not the rule though.
They are supposed to shit in small bags and take them with them and dispose them only when they are back to the ground. Of course nobody can control you, if you pop just down from the edge.