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 6 OBJ: 000000000000001c adrp x0, L_.str@PAGE 7 OBJ: 0000000000000020 add x0, x0, L_.str@PAGEOFF 8 OBJ: 0000000000000024 bl _printf 9 10 EXE: 0000000100007f58 add x0, x0, #0xfa8 ; literal pool for: "Hello world\n" 11 EXE: 0000000100007f5c bl 0x100007f78 ; symbol stub for: _printf 12 13 ObjC-OBJ: 000000000000000c adrp x8, L_OBJC_SELECTOR_REFERENCES_3@PAGE 14 ObjC-OBJ: 0000000000000010 add x8, x8, L_OBJC_SELECTOR_REFERENCES_3@PAGEOFF 15 ObjC-OBJ:0000000000000044 bl _objc_msgSend 16 17 ObjC-EXE: 0000000100007ed0 add x8, x8, #0x50 ; Objc selector ref: date 18 ObjC-EXE: 0000000100007ed8 add x9, x9, #0x60 ; Objc class ref: _OBJC_CLASS_$_NSDate 19 ObjC-EXE: 0000000100007f04 bl 0x100007f50 ; Objc message: +[NSObject new] 20 ObjC-EXE: 0000000100007f1c bl 0x100007f50 ; Objc message: -[x0 new] 21 ObjC-EXE: 0000000100007f2c add x0, x0, #0x20 ; Objc cfstring ref: @"The current date and time is: %@" 22 ObjC-EXE: 0000000100007f30 bl 0x100007f44 ; symbol stub for: _NSLog 23