Well, for a wood stud shearwall with some kind of sheathing there are a couple of checks in the design that would mitigate "buckling" of the shearwall.
Say you have a 20 ft. long (not 100

) shear wall that is 10 ft. tall. Lateral wind/seismic load along the top in plane. You also perhaps have perpendicular wind occurring with the lateral wind.
Most stud wall shear walls have built-up end posts - say 3 2x studs - and then typical studs between the end posts. The end posts have hold downs (if needed - as the wall gets longer relative to height the hold down requirements does go away).
With the vertical gravity loads (0.6 x Dead) and the lateral wind load, the wall assembly, in plan, is taking forces similar to a beam/column. There is axial load (P/A) and axial force due to bending (My/I) where M is the overturning moment equal to the lateral force times the wall height.
y is the distance from the center of the wall (in plan) to the end posts. I is a moment of inertia of the wall assembly. This I value can be calculated based on the areas of the studs and end posts relative to the center of the wall.
With P/A +/- My/I you can calculate the maximum tension and compression forces in the end posts and in the individual studs. Each stud will have a compressive force that begins to diminish as you approach the center of the wall. The end posts, of course, have the highest.
You can individually check each stud against this compressive force and see if it is capable of resisting that axial load (and perhaps in combination with any perpendicular wind load that would apply). If the studs all work, I don't see how the wall would ever buckle.
Now most engineers don't do the My/I for the hold downs, or even the end post axial checks, but rather take the overturning moment and force all the load into the end posts alone - ignoring the in-between studs.
Hope this helps.