1
0
forked from M-Labs/artiq
artiq/artiq
David Nadlinger 892b0eaca2 compiler: Fix crash on multiple types with the same name
The original fix in 21574bdfa9
was incomplete, as it only addressed the TInstance types, but
not their linked (typ.constructor) TConstructor instances.

This would (potentially among other issues) cause assertion
errors in llvm_ir_generator due to the wrong associated globals
being referenced; see added test case for an example that
previously caused such a crash.

Also modified the name collision detection from O(len(type_map))
(so quadratic overall in the number of custom types) to cache
names in sets for O(1) lookup.
2023-09-26 23:31:21 +01:00
..
applets set_argument_value in applets 2023-09-21 16:26:11 +08:00
browser browser: refactor upload_clicked for dataset metadata 2023-07-10 04:26:08 +00:00
compiler compiler: Fix crash on multiple types with the same name 2023-09-26 23:31:21 +01:00
coredevice Generate coredevice entries for Shuttler (#2216) 2023-09-26 09:44:21 +08:00
dashboard set_argument_value in applets 2023-09-21 16:26:11 +08:00
examples Shuttler: Patch ddb entries in the example code 2023-09-26 12:20:26 +08:00
firmware satman: fix ddma reporting wrong destination 2023-09-22 10:25:37 +08:00
frontend Generate coredevice entries for Shuttler (#2216) 2023-09-26 09:44:21 +08:00
gateware Simplify OOB reset by clock division (#2217) 2023-09-26 08:02:49 +08:00
gui set_argument_value in applets 2023-09-21 16:26:11 +08:00
language scan: fix deprecated shuffle parameter in python 3.11 2023-09-13 12:24:44 +08:00
master databases: read and save metadata in lmdb 2023-07-10 02:33:59 +00:00
sim ttl: Add target RTIO time argument to timestamp/count functions 2018-11-03 20:33:19 +08:00
test compiler: Fix crash on multiple types with the same name 2023-09-26 23:31:21 +01:00
wavesynth wavesynth: np.int is deprecated 2021-09-13 07:02:35 +08:00
__init__.py simplify versioneer 2020-07-30 00:54:07 +08:00
_version.py PEP440 compliant version numbers 2023-04-30 16:55:49 +08:00
appdirs.py add appdirs 2016-07-18 16:40:18 +02:00
build_soc.py satellites: add kernel cpu 2023-06-16 15:44:31 +08:00
experiment.py artiq.experiment: merge language and coredevice namespaces 2016-01-25 17:24:00 -07:00
remoting.py artiq_flash: wrap paramiko commands in bash login shell 2021-05-27 21:44:10 +08:00
tools.py tools: remove trim param 2023-09-01 20:06:19 +08:00