Skip to content

Commit d241e33

Browse files
committed
fix unaligned test
1 parent 639e14f commit d241e33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lld/test/COFF/stub.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ CHECK3: AddressOfRelocationTable: 64
4646
CHECK3: OverlayNumber: 0
4747
CHECK3: OEMid: 0
4848
CHECK3: OEMinfo: 0
49-
CHECK3: AddressOfNewExeHeader: 64
49+
## 68 is unaligned and rounded up to 72 by LLD
50+
CHECK3: AddressOfNewExeHeader: 72
5051

5152
## Too-small stub (must be at least 64 bytes long) && Unaligned
5253
# RUN: not lld-link /out:%t.exe /entry:main /stub:%p/Inputs/stub63mz %t.obj 2>&1 | FileCheck -check-prefix=CHECK4 %s

0 commit comments

Comments
 (0)