]> granicus.if.org Git - llvm/commit
MCDwarfLineTableheader::tryGetFile : replace a loop with llvm::find
authorFangrui Song <maskray@google.com>
Fri, 12 Apr 2019 04:55:10 +0000 (04:55 +0000)
committerFangrui Song <maskray@google.com>
Fri, 12 Apr 2019 04:55:10 +0000 (04:55 +0000)
commit77dd066466e0e9bd4965e06497891e42dab27597
treee2f30cc9c9281806c5f25860c2520f0b5059b05f
parenta588917c3b761f89bafdd29723032a8c657e7142
MCDwarfLineTableheader::tryGetFile : replace a loop with llvm::find

Note, `DirIndex++` below is incorrect for DWARF 5, but it can be fixed
later after the file index is fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358251 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCDwarf.cpp