Commit Graph

31 Commits

Author SHA1 Message Date
gingerBill
6cdec65ca1 gb_internal LLVM backend 2022-12-18 22:32:05 +00:00
gingerBill
5ac36b5f25 HACK: Get around debugging type generation for slices and dynamic arrays of *nix systems 2022-11-23 22:46:02 +00:00
gingerBill
22bcf1ba70 Extra check for slices and dynamic arrays for -debug 2022-11-23 22:31:21 +00:00
gingerBill
51c705edf1 Add extra check to debug information of named composite types 2022-11-23 21:59:53 +00:00
gingerBill
27d56d0da4 Fix #2125 2022-11-21 10:25:34 +00:00
gingerBill
810a1eee41 Remove the need for type->Map.internal_type and replace with the definition of runtime.Raw_Map 2022-11-08 11:13:46 +00:00
gingerBill
3b583cbac7 Add debug symbols for global constants of integers, bools, enums, runes, & pointers.
Variables are namespaced with `pkg::name` or `name` if built-in or the initial package for convenience.
2022-11-02 00:05:51 +00:00
Lucas Perlind
e188a542da llvm_backend_debug: Add debug info for soa pointer
This fixes issue #2113
2022-10-08 17:08:28 +11:00
gingerBill
913e8b2e02 Unify debug parameter code 2022-09-10 10:03:51 +01:00
gingerBill
623d687192 Split debug info generation for direct and indirect parameters 2022-09-09 23:07:09 +01:00
gingerBill
268fb22bca Use llvm.dbg.declare for procedure parameters rather than llvm.dbg.value 2022-09-07 23:47:33 +01:00
Fabian Sperber
fb167d1d0a Fix loop var (init) becoming hidden while stepping on the for-line
- set debug location of jumps between block (similar to clang to the location of 'for')
- extend scope range to include all parts of the for-stmt
2022-07-19 00:46:27 +02:00
gingerBill
6c7e5748a8 Integrate numerous debug fixes from #1877 2022-07-18 12:49:29 +01:00
gingerBill
33d96fd28a Correct debug information of #simd vectors 2022-06-20 16:00:17 +01:00
gingerBill
c223fc1766 Correct debug information for local variables 2022-02-28 12:06:35 +00:00
gingerBill
42ad54c28e Improve metadata for context 2022-02-16 15:18:22 +00:00
gingerBill
e011d812ca Improve debug information for direct procedure parmaters 2022-02-16 14:39:08 +00:00
gingerBill
0738822dda Change how parameter and variables are given debug values 2022-02-16 13:25:31 +00:00
gingerBill
2213722776 Change debug declare to value 2022-02-16 12:37:22 +00:00
gingerBill
eac74631ec Correct debug information logic for procedure parameters 2022-02-01 14:11:19 +00:00
gingerBill
3f038428a7 Begin minimizing Ast size 2021-11-14 15:12:37 +00:00
gingerBill
600d19c51b General catch-all for llvm debug types 2021-11-09 18:04:31 +00:00
gingerBill
6be104e521 Make llvm backend code use PtrMap; remove dead code 2021-11-05 16:43:53 +00:00
gingerBill
b01e0fbbc2 Correct typo in soa data type debug information generation 2021-11-01 23:00:42 +00:00
gingerBill
0b4cbcf409 Correct debug info for matrix type 2021-11-01 16:39:02 +00:00
gingerBill
7b8b2f042c Add debug type information for matrix 2021-10-29 00:13:22 +01:00
gingerBill
71f2289c20 Fix #1174 2021-09-18 15:10:29 +01:00
Jeroen van Rijn
0d12432d3f VS: Fix compilation using VS 2022. 2021-09-16 13:24:20 +02:00
gingerBill
2e921c88fb Add debug information for [^]T 2021-08-22 19:02:52 +01:00
gingerBill
7845769d4b Remove unused code 2021-08-19 15:03:10 +01:00
gingerBill
40822be595 Reorganize llvm_backend.cpp into separate files for easier maintenance 2021-08-07 12:01:48 +01:00