1// RUN: llvm-objdump -d -m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello.obj.macho-aarch64 | FileCheck %s -check-prefix=OBJ 2// RUN: llvm-objdump -d -m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/hello.exe.macho-aarch64 | FileCheck %s -check-prefix=EXE 3// RUN: llvm-objdump -d -m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/ObjC.obj.macho-aarch64 | FileCheck %s -check-prefix=ObjC-OBJ 4// RUN: llvm-objdump -d -m -no-show-raw-insn -full-leading-addr -print-imm-hex %p/Inputs/ObjC.exe.macho-aarch64 | FileCheck %s -check-prefix=ObjC-EXE 5 6OBJ: 000000000000001c adrp x0, L_.str@PAGE 7OBJ: 0000000000000020 add x0, x0, L_.str@PAGEOFF 8OBJ: 0000000000000024 bl _printf 9 10EXE: 0000000100007f58 add x0, x0, #0xfa8 ; literal pool for: "Hello world\n" 11EXE: 0000000100007f5c bl 0x100007f78 ; symbol stub for: _printf 12 13ObjC-OBJ: 000000000000000c adrp x8, L_OBJC_SELECTOR_REFERENCES_3@PAGE 14ObjC-OBJ: 0000000000000010 add x8, x8, L_OBJC_SELECTOR_REFERENCES_3@PAGEOFF 15ObjC-OBJ:0000000000000044 bl _objc_msgSend 16 17ObjC-EXE: 0000000100007ed0 add x8, x8, #0x50 ; Objc selector ref: date 18ObjC-EXE: 0000000100007ed8 add x9, x9, #0x60 ; Objc class ref: _OBJC_CLASS_$_NSDate 19ObjC-EXE: 0000000100007f04 bl 0x100007f50 ; Objc message: +[NSObject new] 20ObjC-EXE: 0000000100007f1c bl 0x100007f50 ; Objc message: -[x0 new] 21ObjC-EXE: 0000000100007f2c add x0, x0, #0x20 ; Objc cfstring ref: @"The current date and time is: %@" 22ObjC-EXE: 0000000100007f30 bl 0x100007f44 ; symbol stub for: _NSLog 23