summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-04-16 06:22:53 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-04-16 06:22:53 +0000
commitc09746dc9ced3d21b0bfd9ac308ef8c06832808e (patch)
treeabab726e7be698b72db369839513e03731ffa111 /test
parent5422dfb5b00370373e280df1ce619ffd0eafe912 (diff)
downloadllvm-c09746dc9ced3d21b0bfd9ac308ef8c06832808e.tar.gz
llvm-c09746dc9ced3d21b0bfd9ac308ef8c06832808e.tar.bz2
llvm-c09746dc9ced3d21b0bfd9ac308ef8c06832808e.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/MC/COFF/file.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/MC/COFF/file.s b/test/MC/COFF/file.s
index a258693839..72eee90842 100644
--- a/test/MC/COFF/file.s
+++ b/test/MC/COFF/file.s
@@ -2,16 +2,16 @@
// RUN: | FileCheck %s -check-prefix CHECK-PRINT
.file "null-padded.asm"
-// CHECK-PRINT: .file
+// CHECK-PRINT: (nx 1) {{0x[0-9]+}} .file
// CHECK-PRINT-NEXT: AUX null-padded.asm{{$}}
.file "eighteen-chars.asm"
-// CHECK-PRINT: .file
+// CHECK-PRINT: (nx 1) {{0x[0-9]+}} .file
// CHECK-PRINT-NEXT: AUX eighteen-chars.asm{{$}}
.file "multiple-auxiliary-entries.asm"
-// CHECK-PRINT: .file
+// CHECK-PRINT: (nx 2) {{0x[0-9]+}} .file
// CHECK-PRINT-NEXT: AUX multiple-auxiliary-entries.asm{{$}}