zig/test/behavior
Jakub Konka 5944e89016 stage2: lower unnamed constants in Elf and MachO
* link: add a virtual function `lowerUnnamedConsts`, similar to
  `updateFunc` or `updateDecl` which needs to be implemented by the
  linker backend in order to be used with the `CodeGen` code
* elf: implement `lowerUnnamedConsts` specialization where we
  lower unnamed constants to `.rodata` section. We keep track of the
  atoms encompassing the lowered unnamed consts in a global table
  indexed by parent `Decl`. When the `Decl` is updated or destroyed,
  we clear the unnamed consts referenced within the `Decl`.
* macho: implement `lowerUnnamedConsts` specialization where we
  lower unnamed constants to `__TEXT,__const` section. We keep track of the
  atoms encompassing the lowered unnamed consts in a global table
  indexed by parent `Decl`. When the `Decl` is updated or destroyed,
  we clear the unnamed consts referenced within the `Decl`.
* x64: change `MCValue.linker_sym_index` into two `MCValue`s: `.got_load` and
  `.direct_load`. The former signifies to the emitter that it should
  emit a GOT load relocation, while the latter that it should emit
  a direct load (`SIGNED`) relocation.
* x64: lower `struct` instantiations
2022-02-07 08:39:00 +01:00
..
2022-02-03 22:31:29 +01:00
2021-10-28 17:33:05 -07:00
2022-01-26 20:59:20 -07:00
2022-01-10 21:01:00 +01:00
2022-01-24 21:53:57 -07:00
2022-01-26 00:36:12 -07:00
2022-01-08 14:30:11 -05:00
2022-01-26 20:59:20 -07:00
2022-01-26 00:36:12 -07:00
2022-01-28 11:45:04 -07:00
2022-01-26 00:36:12 -07:00
2022-01-26 00:36:12 -07:00
2022-01-26 00:36:12 -07:00
2022-01-07 00:06:06 -05:00
2022-01-26 00:36:12 -07:00
2022-01-28 11:45:04 -07:00
2021-11-27 00:27:52 -07:00
2021-11-26 23:17:01 -07:00
2022-01-07 00:06:06 -05:00
2021-07-26 20:05:48 -04:00
2022-01-08 14:01:28 +01:00
2022-01-17 20:45:55 -07:00
2022-01-26 20:59:20 -07:00
2022-01-03 02:09:54 +01:00
2021-11-27 00:27:52 -07:00
2022-01-17 20:45:55 -07:00
2022-01-28 11:45:04 -07:00