1 ; RUN: llvm-objdump -disassemble -line-numbers %p/Inputs/embedded-source | FileCheck --check-prefix=LINE %s 2 ; RUN: llvm-objdump -disassemble -source %p/Inputs/embedded-source | FileCheck --check-prefix=SOURCE %s 3 ; REQUIRES: x86-registered-target 4 5 ; LINE: main: 6 ; LINE-NEXT: ; {{.*}}embedded-source.c:1 7 ; LINE-NEXT: pushq %rbp 8 ; LINE: ; {{.*}}embedded-source.c:2 9 ; LINE-NEXT: movl $2 10 ; LINE: ; {{.*}}embedded-source.c:3 11 ; LINE: addl $1 12 ; LINE: ; {{.*}}embedded-source.c:4 13 ; LINE: retq 14 15 ; SOURCE: main: 16 ; SOURCE-NEXT: ; int main(int argc, char *argv[]) { 17 ; SOURCE-NEXT: pushq %rbp 18 ; SOURCE: ; int i = 2; 19 ; SOURCE-NEXT: movl $2 20 ; SOURCE: ; i += 1; 21 ; SOURCE: addl $1 22 ; SOURCE: ; return i; 23 ; SOURCE: retq 24