1 ; RUN: llc < %s -march=x86 -x86-asm-syntax=att 2 ; PR834 3 ; END. 4 5 target datalayout = "e-p:32:32" 6 target triple = "i386-unknown-freebsd6.1" 7 %llvm.dbg.anchor.type = type { i32, i32 } 8 %llvm.dbg.basictype.type = type { i32, { }*, i8*, { }*, i32, i64, i64, i64, i32, i32 } 9 %llvm.dbg.compile_unit.type = type { i32, { }*, i32, i8*, i8*, i8* } 10 %llvm.dbg.global_variable.type = type { i32, { }*, { }*, i8*, i8 *, i8*, { }*, i32, { }*, i1, i1, { }* } 11 @x = global i32 0 ; <i32*> [#uses=1] 12 @llvm.dbg.global_variable = internal constant %llvm.dbg.global_variable.type { 13 i32 327732, 14 { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.global_variables to { }*), 15 { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), 16 i8* getelementptr ([2 x i8]* @str, i64 0, i64 0), 17 i8* getelementptr ([2 x i8]* @str, i64 0, i64 0), 18 i8* null, 19 { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), 20 i32 1, 21 { }* bitcast (%llvm.dbg.basictype.type* @llvm.dbg.basictype to { }*), 22 i1 false, 23 i1 true, 24 { }* bitcast (i32* @x to { }*) }, section "llvm.metadata" ; <%llvm.dbg.global_variable.type*> [#uses=0] 25 @llvm.dbg.global_variables = linkonce constant %llvm.dbg.anchor.type { i32 327680, i32 52 }, section "llvm.metadata" ; <%llvm.dbg.anchor.type*> [#uses=1] 26 @llvm.dbg.compile_unit = internal constant %llvm.dbg.compile_unit.type { 27 i32 327697, 28 { }* bitcast (%llvm.dbg.anchor.type* @llvm.dbg.compile_units to { }*), 29 i32 4, 30 i8* getelementptr ([10 x i8]* @str1, i64 0, i64 0), 31 i8* getelementptr ([32 x i8]* @str2, i64 0, i64 0), 32 i8* getelementptr ([45 x i8]* @str3, i64 0, i64 0) }, section "llvm.metadata" ; <%llvm.dbg.compile_unit.type*> [#uses=1] 33 @llvm.dbg.compile_units = linkonce constant %llvm.dbg.anchor.type { i32 327680, i32 17 }, section "llvm.metadata" ; <%llvm.dbg.anchor.type*> [#uses=1] 34 @str1 = internal constant [10 x i8] c"testb.cpp\00", section "llvm.metadata" ; <[10 x i8]*> [#uses=1] 35 @str2 = internal constant [32 x i8] c"/Sources/Projects/DwarfTesting/\00", section "llvm.metadata" ; <[32 x i8]*> [#uses=1] 36 @str3 = internal constant [45 x i8] c"4.0.1 LLVM (Apple Computer, Inc. build 5400)\00", section "llvm.metadata" ; <[45 x i8]*> [#uses=1] 37 @str = internal constant [2 x i8] c"x\00", section "llvm.metadata" ; <[2 x i8]*> [#uses=1] 38 @llvm.dbg.basictype = internal constant %llvm.dbg.basictype.type { 39 i32 327716, 40 { }* bitcast (%llvm.dbg.compile_unit.type* @llvm.dbg.compile_unit to { }*), 41 i8* getelementptr ([4 x i8]* @str4, i64 0, i64 0), 42 { }* null, 43 i32 0, 44 i64 32, 45 i64 32, 46 i64 0, 47 i32 0, 48 i32 5 }, section "llvm.metadata" ; <%llvm.dbg.basictype.type*> [#uses=1] 49 @str4 = internal constant [4 x i8] c"int\00", section "llvm.metadata" ; <[4 x i8]*> [#uses=1] 50