• Russ Cox's avatar
    stack overflow debugging and fix. · add89dd1
    Russ Cox authored
      * in 6l, -K already meant check for stack underflow.
        add -KK to mean double-check stack overflows
        even in nosplit functions.
    
      * comment out print locks; they deadlock too easily
         but are still useful to put back for special occasions.
    
      * let runcgo assembly switch to scheduler stack
        without involving scheduler directly.  because runcgo
        gets called from matchmg, it is too hard to keep it
        from being called on other stacks.
    
    R=r
    DELTA=94  (65 added, 18 deleted, 11 changed)
    OCL=35591
    CL=35604
    add89dd1
print.c 3.77 KB