1*9880d681SAndroid Build Coastguard Worker; RUN: llc -disable-fp-elim -O0 %s -mtriple x86_64-unknown-linux-gnu -o - | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker; int callme(int); 4*9880d681SAndroid Build Coastguard Worker; int isel_line_test2() { 5*9880d681SAndroid Build Coastguard Worker; callme(400); 6*9880d681SAndroid Build Coastguard Worker; return 0; 7*9880d681SAndroid Build Coastguard Worker; } 8*9880d681SAndroid Build Coastguard Worker 9*9880d681SAndroid Build Coastguard Workerdefine i32 @isel_line_test2() nounwind uwtable !dbg !5 { 10*9880d681SAndroid Build Coastguard Worker ; The stack adjustment should be part of the prologue. 11*9880d681SAndroid Build Coastguard Worker ; CHECK: isel_line_test2: 12*9880d681SAndroid Build Coastguard Worker ; CHECK: {{subq|leaq}} {{.*}}, %rsp 13*9880d681SAndroid Build Coastguard Worker ; CHECK: .loc 1 5 3 prologue_end 14*9880d681SAndroid Build Coastguard Workerentry: 15*9880d681SAndroid Build Coastguard Worker %call = call i32 @callme(i32 400), !dbg !10 16*9880d681SAndroid Build Coastguard Worker ret i32 0, !dbg !12 17*9880d681SAndroid Build Coastguard Worker} 18*9880d681SAndroid Build Coastguard Worker 19*9880d681SAndroid Build Coastguard Workerdeclare i32 @callme(i32) 20*9880d681SAndroid Build Coastguard Worker 21*9880d681SAndroid Build Coastguard Worker!llvm.dbg.cu = !{!0} 22*9880d681SAndroid Build Coastguard Worker!llvm.module.flags = !{!14} 23*9880d681SAndroid Build Coastguard Worker 24*9880d681SAndroid Build Coastguard Worker!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.2 (trunk 164980) (llvm/trunk 164979)", isOptimized: false, emissionKind: FullDebug, file: !13, enums: !1, retainedTypes: !1, globals: !1, imports: !1) 25*9880d681SAndroid Build Coastguard Worker!1 = !{} 26*9880d681SAndroid Build Coastguard Worker!5 = distinct !DISubprogram(name: "isel_line_test2", line: 3, isLocal: false, isDefinition: true, virtualIndex: 6, isOptimized: false, unit: !0, scopeLine: 4, file: !13, scope: !6, type: !7, variables: !1) 27*9880d681SAndroid Build Coastguard Worker!6 = !DIFile(filename: "bar.c", directory: "/usr/local/google/home/echristo/tmp") 28*9880d681SAndroid Build Coastguard Worker!7 = !DISubroutineType(types: !8) 29*9880d681SAndroid Build Coastguard Worker!8 = !{!9} 30*9880d681SAndroid Build Coastguard Worker!9 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) 31*9880d681SAndroid Build Coastguard Worker!10 = !DILocation(line: 5, column: 3, scope: !11) 32*9880d681SAndroid Build Coastguard Worker!11 = distinct !DILexicalBlock(line: 4, column: 1, file: !13, scope: !5) 33*9880d681SAndroid Build Coastguard Worker!12 = !DILocation(line: 6, column: 3, scope: !11) 34*9880d681SAndroid Build Coastguard Worker!13 = !DIFile(filename: "bar.c", directory: "/usr/local/google/home/echristo/tmp") 35*9880d681SAndroid Build Coastguard Worker!14 = !{i32 1, !"Debug Info Version", i32 3} 36