Andrew Kelley
0bc9635490
stage2: add debug info for locals in the LLVM backend
...
Adds 2 new AIR instructions:
* dbg_var_ptr
* dbg_var_val
Sema no longer emits dbg_stmt AIR instructions when strip=true.
LLVM backend: fixed lowerPtrToVoid when calling ptrAlignment on
the element type is problematic.
LLVM backend: fixed alloca instructions improperly getting debug
location annotated, causing chaotic debug info behavior.
zig_llvm.cpp: fixed incorrect bindings for a function that should use
unsigned integers for line and column.
A bunch of C test cases regressed because the new dbg_var AIR
instructions caused their operands to be alive, exposing latent bugs.
Mostly it's just a problem that the C backend lowers mutable
and const slices to the same C type, so we need to represent that in the
C backend instead of printing two duplicate typedefs.
2022-03-13 03:41:31 -04:00
..
2022-03-13 03:41:31 -04:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-04-29 15:54:04 -07:00
2021-09-01 17:54:07 -07:00
2022-03-13 03:41:31 -04:00
2022-02-28 23:20:05 +01:00
2022-03-11 19:38:07 -07:00
2021-10-04 23:48:55 -07:00
2021-12-19 00:24:45 -05:00
2022-01-18 21:25:22 -07:00
2021-06-21 17:03:03 -07:00
2022-03-11 00:04:42 -07:00
2022-02-14 22:33:01 +01:00
2022-03-05 11:31:51 +01:00
2022-02-28 23:20:05 +01:00
2021-10-28 17:33:05 -07:00
2022-02-18 14:28:32 -07:00
2022-03-08 21:10:04 +01:00
2022-02-27 18:59:44 -05:00
2022-01-10 21:01:00 +01:00
2022-03-10 14:20:16 -07:00
2022-01-24 21:47:53 -07:00
2021-10-02 20:15:03 -07:00
2022-02-13 14:42:20 +02:00
2022-03-08 21:10:04 +01:00
2022-03-09 13:53:20 -07:00
2022-03-12 11:36:05 +02:00
2022-03-13 03:41:31 -04:00
2022-03-08 11:23:38 +02:00
2022-03-10 20:00:07 +02:00
2022-03-09 13:53:20 -07:00
2022-03-13 03:41:31 -04:00
2022-02-14 22:33:01 +01:00
2021-05-08 14:45:21 -07:00
2022-03-13 03:41:31 -04:00
2022-03-13 03:41:31 -04:00
2022-03-13 03:41:31 -04:00
2021-05-08 14:45:21 -07:00
2022-03-11 12:59:20 -07:00
2022-03-05 11:31:51 +01:00
2022-01-07 00:06:06 -05:00
2022-03-08 21:10:04 +01:00
2022-01-17 21:55:49 -07:00
2022-02-19 14:24:03 +01:00
2022-03-05 11:31:51 +01:00
2022-02-28 23:20:05 +01:00
2022-03-11 23:12:15 +00:00
2021-10-14 21:17:30 -07:00
2022-02-22 21:57:42 +01:00
2022-03-09 13:53:20 -07:00
2022-03-06 16:18:51 -07:00
2022-02-28 23:20:05 +01:00
2022-03-09 13:53:20 -07:00
2022-03-03 13:08:14 -07:00
2022-03-08 12:05:12 -08:00
2022-02-12 20:44:30 -07:00
2021-12-11 00:29:31 +01:00
2022-03-09 13:53:20 -07:00
2021-05-08 14:45:21 -07:00
2022-02-22 21:57:42 +01:00
2022-03-01 18:24:00 -07:00
2022-02-15 10:40:53 +02:00
2021-07-26 20:05:48 -04:00
2022-03-11 14:25:15 +02:00
2022-03-09 16:02:42 -07:00
2021-06-21 17:03:03 -07:00
2022-03-13 03:41:31 -04:00
2022-03-01 23:46:57 -07:00
2022-03-09 13:53:20 -07:00
2021-05-08 14:45:21 -07:00
2022-03-09 18:49:37 -07:00
2022-03-09 13:53:20 -07:00
2022-03-09 13:53:20 -07:00
2022-03-12 11:25:37 +02:00
2022-03-05 11:31:51 +01:00
2022-03-08 20:38:51 +02:00
2022-03-09 15:35:13 -07:00
2022-03-05 11:31:51 +01:00
2022-03-05 11:31:51 +01:00
2022-03-10 17:52:18 -07:00
2022-03-10 14:21:37 -07:00
2022-03-12 11:02:24 -08:00
2021-07-28 18:17:11 -04:00
2022-02-27 21:38:56 +01:00
2022-02-28 23:20:05 +01:00
2022-03-13 03:41:31 -04:00
2022-03-13 03:41:31 -04:00
2022-03-08 21:10:04 +01:00
2022-03-09 13:53:20 -07:00
2021-10-04 23:48:55 -07:00
2022-02-27 21:38:56 +01:00
2022-03-03 18:31:55 -07:00
2022-03-09 18:49:37 -07:00
2022-01-28 11:45:04 -07:00
2022-01-29 18:12:28 +02:00