Files
clang-p2996/lld/test/ELF/relocation-common.s
Daniel Thornburgh 75cdab6dc2 [llvm-objdump] Add --no-print-imm-hex to tests depending on it.
This prepares for an upcoming change to make --print-imm-hex the default
behavior of llvm-objdump. These tests were updated in a semi-automatic
fashion.

See D136972 for details.
2022-10-29 15:40:26 -07:00

15 lines
354 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
# RUN: ld.lld %t.o -o %t
# RUN: llvm-objdump --no-print-imm-hex -t -d %t | FileCheck %s
.global _start
_start:
movl $1, sym1(%rip)
.global sym1
.comm sym1,4,4
# CHECK: 0000000000202164 g O .bss 0000000000000004 sym1
# CHECK: 201158: {{.*}} movl $1, 4098(%rip)