• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux | llvm-objdump -d - | FileCheck %s
2        .text
3        .globl  foo
4        .type   foo, @function
5foo:
6        pushq   %rbp
7        movq    %rsp, %rbp
8        movl    $0, %eax
9        popq    %rbp
10        ret
11
12        .globl bar
13        .type bar, @object
14bar:
15        .string "test string"
16
17// CHECK:        b:        74 65 73 74 20 73 74 72         test str
18// CHECK-NEXT:  13:        69 6e 67 00                     ing.
19
20