    When converting a location to an SMLoc, advance to the first non-whitespace if the column is unknown(zero). This also fixes a small bug with call stack printing.
    When converting a location to an SMLoc, advance to the first non-whitespace if the column is unknown(zero). This also fixes a small bug with call stack printing.

    Example:
    /tmp/file_C.py:21:5: error: 'foo.bar' op attribute 'something'
        raise app.UsageError('Too many command-line arguments.')
        ^
    /tmp/file_D.py:20:3: note: called from
      if len(argv) > 1:
      ^
    /tmp/file_E.py:19:1: note: called from
    def main(argv):
    ^
    /tmp/file_F.py:24:3: note: called from
      app.run(main)
      ^

--

PiperOrigin-RevId: 248151212

karllessard/tensorflow,davidzchen/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,yongtang/tensorflow,annarev/tensorflow,davidzchen/tensorflow,gunan/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,annarev/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,karllessard/tensorflow,arborh/tensorflow,xzturn/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,gunan/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,arborh/tensorflow,jhseu/tensorflow,aam-at/tensorflow,annarev/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,arborh/tensorflow,DavidNorman/tensorflow,arborh/tensorflow,paolodedios/tensorflow,xzturn/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,paolodedios/tensorflow,aldian/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,annarev/tensorflow,gunan/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,frreiss/tensorflow-fred,adit-chandra/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,renyi533/tensorflow,arborh/tensorflow,gunan/tensorflow,aam-at/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,xzturn/tensorflow,sarvex/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,freedomtan/tensorflow,annarev/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,renyi533/tensorflow,jhseu/tensorflow,sarvex/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,cxxgtxy/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,xzturn/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,DavidNorman/tensorflow,gautam1858/tensorflow,aldian/tensorflow,aldian/tensorflow,gunan/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,aldian/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,aldian/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,aam-at/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,annarev/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aldian/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,tensorflow/tensorflow,annarev/tensorflow,DavidNorman/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-Corporation/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,yongtang/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,gunan/tensorflow,yongtang/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,yongtang/tensorflow,karllessard/tensorflow,jhseu/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,Intel-tensorflow/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,renyi533/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,karllessard/tensorflow,tensorflow/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,aam-at/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,jhseu/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,sarvex/tensorflow,xzturn/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,aam-at/tensorflow,sarvex/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,petewarden/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,annarev/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,karllessard/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,cxxgtxy/tensorflow,renyi533/tensorflow,adit-chandra/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,frreiss/tensorflow-fred,sarvex/tensorflow,xzturn/tensorflow,aldian/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,petewarden/tensorflow,gunan/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,jhseu/tensorflow,annarev/tensorflow,frreiss/tensorflow-fred,gautam1858/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,renyi533/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,tensorflow/tensorflow