Created
July 27, 2016 23:06
-
-
Save lqd/e0adb5d0c6f3597a4d17e4965c9120d1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; ModuleID = 'test.cpp' | |
source_filename = "test.cpp" | |
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" | |
target triple = "x86_64-apple-macosx10.10.0" | |
; Function Attrs: ssp uwtable | |
define void @_Z3bazv() #0 { | |
entry: | |
%x.i.i = alloca i32, align 4 | |
call void @llvm.dbg.declare(metadata i32* %x.i.i, metadata !7, metadata !12), !dbg !13 | |
store i32 5, i32* %x.i.i, align 4, !dbg !13 | |
ret void | |
} | |
; Function Attrs: nounwind readnone | |
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1 | |
attributes #0 = { ssp uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="core2" "target-features"="+cx16,+fxsr,+mmx,+sse,+sse2,+sse3,+ssse3,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" } | |
attributes #1 = { nounwind readnone } | |
!llvm.dbg.cu = !{!0} | |
!llvm.module.flags = !{!3, !4, !5} | |
!llvm.ident = !{!6} | |
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.9.0 (trunk 275535)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2) | |
!1 = !DIFile(filename: "test.cpp", directory: "/Users/rrakic/Documents/rust/lqd-mir2wasm") | |
!2 = !{} | |
!3 = !{i32 2, !"Dwarf Version", i32 2} | |
!4 = !{i32 2, !"Debug Info Version", i32 3} | |
!5 = !{i32 1, !"PIC Level", i32 2} | |
!6 = !{!"clang version 3.9.0 (trunk 275535)"} | |
!7 = !DILocalVariable(name: "x", scope: !8, file: !1, line: 1, type: !11) | |
!8 = distinct !DISubprogram(name: "foo", linkageName: "_ZL3foov", scope: !1, file: !1, line: 1, type: !9, isLocal: true, isDefinition: true, scopeLine: 1, flags: DIFlagPrototyped, isOptimized: false, unit: !0, variables: !2) | |
!9 = !DISubroutineType(types: !10) | |
!10 = !{null} | |
!11 = !DIBasicType(name: "int", size: 32, align: 32, encoding: DW_ATE_signed) | |
!12 = !DIExpression() | |
!13 = !DILocation(line: 1, column: 56, scope: !8, inlinedAt: !14) | |
!14 = distinct !DILocation(line: 2, column: 52, scope: !15) | |
!15 = distinct !DISubprogram(name: "bar", linkageName: "_ZL3barv", scope: !1, file: !1, line: 2, type: !9, isLocal: true, isDefinition: true, scopeLine: 2, flags: DIFlagPrototyped, isOptimized: false, unit: !0, variables: !2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment