forked from OSchip/llvm-project
Update discriminator testcases to use proper NoDebug CUs instead of omitting
!llvm.dbg.cu. llvm-svn: 265961
This commit is contained in:
parent
816ec8882a
commit
d1f52b672a
|
@ -37,15 +37,11 @@ if.end: ; preds = %if.then, %entry
|
|||
|
||||
attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
|
||||
|
||||
; We should be able to add discriminators even in the absence of llvm.dbg.cu.
|
||||
; When using sample profiles, the front end will generate line tables but it
|
||||
; does not generate llvm.dbg.cu to prevent codegen from emitting debug info
|
||||
; to the final binary.
|
||||
; !llvm.dbg.cu = !{!0}
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!7, !8}
|
||||
!llvm.ident = !{!9}
|
||||
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 ", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 ", isOptimized: false, emissionKind: NoDebug, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
|
||||
!1 = !DIFile(filename: "basic.c", directory: ".")
|
||||
!2 = !{}
|
||||
!3 = !{!4}
|
||||
|
|
|
@ -23,15 +23,11 @@ declare void @_Z3barv() #1
|
|||
attributes #0 = { 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-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" }
|
||||
attributes #1 = { "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-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" }
|
||||
|
||||
; We should be able to add discriminators even in the absence of llvm.dbg.cu.
|
||||
; When using sample profiles, the front end will generate line tables but it
|
||||
; does not generate llvm.dbg.cu to prevent codegen from emitting debug info
|
||||
; to the final binary.
|
||||
; !llvm.dbg.cu = !{!0}
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!7, !8}
|
||||
!llvm.ident = !{!9}
|
||||
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.8.0 (trunk 250915) (llvm/trunk 251830)", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, subprograms: !3)
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.8.0 (trunk 250915) (llvm/trunk 251830)", isOptimized: false, runtimeVersion: 0, emissionKind: NoDebug, enums: !2, subprograms: !3)
|
||||
!1 = !DIFile(filename: "c.cc", directory: "/tmp")
|
||||
!2 = !{}
|
||||
!3 = !{!4}
|
||||
|
|
|
@ -46,15 +46,11 @@ if.end: ; preds = %if.then, %entry
|
|||
|
||||
attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
|
||||
|
||||
; We should be able to add discriminators even in the absence of llvm.dbg.cu.
|
||||
; When using sample profiles, the front end will generate line tables but it
|
||||
; does not generate llvm.dbg.cu to prevent codegen from emitting debug info
|
||||
; to the final binary.
|
||||
; !llvm.dbg.cu = !{!0}
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!7, !8}
|
||||
!llvm.ident = !{!9}
|
||||
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 (trunk 199750) (llvm/trunk 199751)", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 (trunk 199750) (llvm/trunk 199751)", isOptimized: false, emissionKind: NoDebug, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
|
||||
!1 = !DIFile(filename: "first-only.c", directory: ".")
|
||||
!2 = !{}
|
||||
!3 = !{!4}
|
||||
|
|
|
@ -47,15 +47,11 @@ if.end: ; preds = %if.else, %if.then
|
|||
|
||||
attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
|
||||
|
||||
; We should be able to add discriminators even in the absence of llvm.dbg.cu.
|
||||
; When using sample profiles, the front end will generate line tables but it
|
||||
; does not generate llvm.dbg.cu to prevent codegen from emitting debug info
|
||||
; to the final binary.
|
||||
; !llvm.dbg.cu = !{!0}
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!7, !8}
|
||||
!llvm.ident = !{!9}
|
||||
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 (trunk 199750) (llvm/trunk 199751)", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 (trunk 199750) (llvm/trunk 199751)", isOptimized: false, emissionKind: NoDebug, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2)
|
||||
!1 = !DIFile(filename: "multiple.c", directory: ".")
|
||||
!2 = !{}
|
||||
!3 = !{!4}
|
||||
|
|
|
@ -54,15 +54,11 @@ declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
|
|||
attributes #0 = { nounwind uwtable "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2" "unsafe-fp-math"="false" "use-soft-float"="false" }
|
||||
attributes #1 = { nounwind readnone }
|
||||
|
||||
; We should be able to add discriminators even in the absence of llvm.dbg.cu.
|
||||
; When using sample profiles, the front end will generate line tables but it
|
||||
; does not generate llvm.dbg.cu to prevent codegen from emitting debug info
|
||||
; to the final binary.
|
||||
; !llvm.dbg.cu = !{!0}
|
||||
!llvm.dbg.cu = !{!0}
|
||||
!llvm.module.flags = !{!10, !11}
|
||||
!llvm.ident = !{!12}
|
||||
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.8.0 (trunk 250915)", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !2, subprograms: !3)
|
||||
!0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !1, producer: "clang version 3.8.0 (trunk 250915)", isOptimized: true, runtimeVersion: 0, emissionKind: NoDebug, enums: !2, subprograms: !3)
|
||||
!1 = !DIFile(filename: "a.cc", directory: "/usr/local/google/home/dehao/discr")
|
||||
!2 = !{}
|
||||
!3 = !{!4}
|
||||
|
|
Loading…
Reference in New Issue