19 lines · plain
1// RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux | llvm-objdump -d - | FileCheck --strict-whitespace --match-full-lines %s2 .text3 .globl foo4 .type foo, @function5foo:6 pushq %rbp7 movq %rsp, %rbp8 movl $0, %eax9 popq %rbp10 ret11 12 .globl bar13 .type bar, @object14bar:15 .string "test string"16 17// CHECK: b: 74 65 73 74 20 73 74 72 test str18// CHECK-NEXT: 13: 69 6e 67 00 ing.19