This follows other patches that changed printing immediate values of branch instructions to target addresses, see D76580 (x86), D76591 (PPC), D77853 (AArch64).
As observing immediate values might sometimes be useful, they are printed as comments for branch instructions.
// llvm-objdump -d output (before) 000200b4 <_start>: 200b4: ff ff ff fa blx #-4 <thumb> 000200b8 <thumb>: 200b8: ff f7 fc ef blx #-8 <_start> // llvm-objdump -d output (after) 000200b4 <_start>: 200b4: ff ff ff fa blx 0x200b8 <thumb> @ imm = #-4 000200b8 <thumb>: 200b8: ff f7 fc ef blx 0x200b4 <_start> @ imm = #-8 // GNU objdump -d. 000200b4 <_start>: 200b4: faffffff blx 200b8 <thumb> 000200b8 <thumb>: 200b8: f7ff effc blx 200b4 <_start>
I get test failures on my system.
Command Output (stderr): -- /ssd/llvm-project/lld/test/COFF/armnt-blx23t.test:15:11: error: BEFORE: expected string not found in input # BEFORE: c: 00 f0 00 f8 bl {{.+}} @ imm = #0 ^ <stdin>:13:23: note: scanning from here a: 20 20 movs r0, #32 ^ <stdin>:14:2: note: possible intended match here c: 00 f0 00 f8 bl 0x10 <function+0xc> ^