COFF: fix an off by one error
authorSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 16 Apr 2014 06:22:53 +0000 (06:22 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Wed, 16 Apr 2014 06:22:53 +0000 (06:22 +0000)
commitc09746dc9ced3d21b0bfd9ac308ef8c06832808e
treeabab726e7be698b72db369839513e03731ffa111
parent5422dfb5b00370373e280df1ce619ffd0eafe912
COFF: fix an off by one error

Adjust the tests to validate the number of auxiliary entries used to store the
filename.

Thanks to majnemer's sharp eye for catching the missing - 1 in the round up
calculation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206359 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WinCOFFObjectWriter.cpp
test/MC/COFF/file.s