search for: dw_ate_boolean

Displaying 9 results from an estimated 9 matches for "dw_ate_boolean".

2015 Jun 01
2
[LLVMdev] Debug info for lazy variables triggers SROA assertion
...id @llvm.dbg.declare(metadata { i8*, i1 (i8*)* }* %val, metadata !11, metadata !19), !dbg !18 ... } !11 = !DILocalVariable(tag: DW_TAG_arg_variable, name: "val", arg: 0, scope: !6, file: !4, line: 1, type: !12) !12 = !DIBasicType(name: "bool", size: 1, align: 8, encoding: DW_ATE_boolean) The attached debug info says that val is of type bool (that's the view of the user). But it is represented by a structure containing a pointer to a frame and a pointer to a function. Optimizing this code triggers an assertion: piece is larger than or outside of variable call void @llvm...
2017 Oct 01
2
load with alignment of 1 crashes from being unaligned
...1, !54, !56, !58} !48 = !DIGlobalVariableExpression(var: !49) !49 = distinct !DIGlobalVariable(name: "link_libc", linkageName: "link_libc", scope: !5, file: !5, line: 200, type: !50, isLocal: true, isDefinition: true) !50 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean) !51 = !DIGlobalVariableExpression(var: !52) !52 = distinct !DIGlobalVariable(name: "want_main_symbol", linkageName: "want_main_symbol", scope: !53, file: !53, line: 8, type: !50, isLocal: true, isDefinition: true) !53 = !DIFile(filename: "bootstrap.zig", directory: &q...
2017 Sep 16
2
assertion triggered since update to llvm 5
...var: !14) !14 = distinct !DIGlobalVariable(name: "__zig_panic_implementation_provided", linkageName: "__zig_panic_implementation_provided", scope: !5, file: !5, line: 201, type: !15, isLocal: true, isDefinition: true) !15 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean) !16 = distinct !DISubprogram(name: "entry", scope: !17, file: !17, type: !18, isLocal: false, isDefinition: true, isOptimized: true, unit: !1, variables: !21) !17 = !DIFile(filename: "test.zig", directory: "/home/andy/dev/zig/build-llvm5-debug") !18 = !DISubroutineTyp...
2017 Jun 19
2
LLVM behavior different depending on function symbol name
...var: !14) !14 = distinct !DIGlobalVariable(name: "__zig_panic_implementation_provided", linkageName: "__zig_panic_implementation_provided", scope: !5, file: !5, line: 189, type: !15, isLocal: true, isDefinition: true) !15 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean) !16 = distinct !DISubprogram(name: "do_test", scope: !17, file: !17, line: 46, type: !18, isLocal: false, isDefinition: true, scopeLine: 46, isOptimized: true, unit: !1, variables: !20) !17 = !DIFile(filename: "test.zig", directory: "/home/andy/dev/zig/build") !18 = !...
2017 Sep 17
2
assertion triggered since update to llvm 5
...IGlobalVariable(name: "__zig_panic_implementation_provided", >> linkageName: "__zig_panic_implementation_provided", scope: !5, file: !5, >> line: 201, type: !15, isLocal: true, isDefinition: true) >> !15 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean) >> !16 = distinct !DISubprogram(name: "entry", scope: !17, file: !17, type: >> !18, isLocal: false, isDefinition: true, isOptimized: true, unit: !1, >> variables: !21) >> !17 = !DIFile(filename: "test.zig", directory: >> "/home/andy/dev/zig/bu...
2017 Sep 17
4
assertion triggered since update to llvm 5
...uot;__zig_panic_implementation_provided", linkageName: >>>> "__zig_panic_implementation_provided", scope: !5, file: !5, line: 201, >>>> type: !15, isLocal: true, isDefinition: true) >>>> !15 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean) >>>> !16 = distinct !DISubprogram(name: "entry", scope: !17, file: !17, >>>> type: !18, isLocal: false, isDefinition: true, isOptimized: true, unit: !1, >>>> variables: !21) >>>> !17 = !DIFile(filename: "test.zig", directory: >...
2017 Jun 19
2
LLVM behavior different depending on function symbol name
...IGlobalVariable(name: "__zig_panic_implementation_provided", >> linkageName: "__zig_panic_implementation_provided", scope: !5, file: !5, >> line: 189, type: !15, isLocal: true, isDefinition: true) >> !15 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean) >> !16 = distinct !DISubprogram(name: "do_test", scope: !17, file: !17, >> line: 46, type: !18, isLocal: false, isDefinition: true, scopeLine: 46, >> isOptimized: true, unit: !1, variables: !20) >> !17 = !DIFile(filename: "test.zig", directory: "/ho...
2017 Sep 17
2
assertion triggered since update to llvm 5
...nic_implementation_provided", >>>>> linkageName: "__zig_panic_implementation_provided", scope: !5, file: >>>>> !5, line: 201, type: !15, isLocal: true, isDefinition: true) >>>>> !15 = !DIBasicType(name: "bool", size: 8, encoding: DW_ATE_boolean) >>>>> !16 = distinct !DISubprogram(name: "entry", scope: !17, file: !17, >>>>> type: !18, isLocal: false, isDefinition: true, isOptimized: true, unit: !1, >>>>> variables: !21) >>>>> !17 = !DIFile(filename: "test.zig",...
2017 Jun 19
4
LLVM behavior different depending on function symbol name
Greetings, I have a Zig implementation of ceil which is emitted into LLVM IR like this: ; Function Attrs: nobuiltin nounwind define internal fastcc float @ceil(float) unnamed_addr #3 !dbg !644 { Entry: %x = alloca float, align 4 store float %0, float* %x call void @llvm.dbg.declare(metadata float* %x, metadata !649, metadata !494), !dbg !651 %1 = load float, float* %x, !dbg !652 %2 =