[lld] d213da4 - [LLD] - Fix a test after obj2yaml change.
Georgii Rymar via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 30 08:34:31 PDT 2019
Author: Georgii Rymar
Date: 2019-10-30T18:28:52+03:00
New Revision: d213da49e149a07e7c7fefe86815af76df3ebba5
URL: https://github.com/llvm/llvm-project/commit/d213da49e149a07e7c7fefe86815af76df3ebba5
DIFF: https://github.com/llvm/llvm-project/commit/d213da49e149a07e7c7fefe86815af76df3ebba5.diff
LOG: [LLD] - Fix a test after obj2yaml change.
I am not sure why obj2yaml is used to check the linkers output,
but anyways, the format was changed in https://reviews.llvm.org/rG6e779e953e9d.
Added:
Modified:
lld/test/mach-o/bind-opcodes.yaml
Removed:
################################################################################
diff --git a/lld/test/mach-o/bind-opcodes.yaml b/lld/test/mach-o/bind-opcodes.yaml
index 294171755759..e3335e9b01bf 100644
--- a/lld/test/mach-o/bind-opcodes.yaml
+++ b/lld/test/mach-o/bind-opcodes.yaml
@@ -99,8 +99,7 @@ undefined-symbols:
# CHECK: Symbol: ''
# CHECK: - Opcode: BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
# CHECK: Imm: 2
-# CHECK: ULEBExtraData:
-# CHECK: - 0x0000000000000000
+# CHECK: ULEBExtraData: [ 0x0000000000000000 ]
# CHECK: Symbol: ''
# CHECK: - Opcode: BIND_OPCODE_DO_BIND
# CHECK: Imm: 0
@@ -110,8 +109,7 @@ undefined-symbols:
# CHECK: Symbol: ___stdoutp
# CHECK: - Opcode: BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
# CHECK: Imm: 2
-# CHECK: ULEBExtraData:
-# CHECK: - 0x0000000000000010
+# CHECK: ULEBExtraData: [ 0x0000000000000010 ]
# CHECK: Symbol: ''
# CHECK: - Opcode: BIND_OPCODE_DO_BIND
# CHECK: Imm: 0
@@ -123,8 +121,7 @@ undefined-symbols:
# CHECK: LazyBindOpcodes:
# CHECK: - Opcode: BIND_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
# CHECK: Imm: 2
-# CHECK: ULEBExtraData:
-# CHECK: - 0x0000000000000018
+# CHECK: ULEBExtraData: [ 0x0000000000000018 ]
# CHECK: Symbol: ''
# CHECK: - Opcode: BIND_OPCODE_SET_DYLIB_ORDINAL_IMM
# CHECK: Imm: 1
More information about the llvm-commits
mailing list