klocalizer has an assertion when localizing without repairing
paulgazz opened this issue · 0 comments
paulgazz commented
klocalizer
currently assumes that localizing happens only when repairing an input configuration file, because of asserts made at these locations:
0347fef6 kmax/klocalizer (Paul 2022-09-27 18:55:50 -0400 1166) assert(False)
f3ffe899 kmax/klocalizer (Paul 2022-09-21 01:55:54 -0400 1455) assert(False)
ce483a93 kmax/klocalizer (Paul 2022-09-27 17:12:06 -0400 1533) assert(False)
The following commands will exercise these code paths:
klocalizer -a=arm64 -DCONFIG_DRM_SUN6I_DSI -UCONFIG_GENERIC_PHY_MIPI_DPHY
klocalizer -a=arm64 --include-mutex init/do_mounts.o:[68] -DCONFIG_DRM_SUN6I_DSI -UCONFIG_GENERIC_PHY_MIPI_DPHY
klocalizer -a=arm64 --include-mutex init/do_mounts.o -DCONFIG_DRM_SUN6I_DSI -UCONFIG_GENERIC_PHY_MIPI_DPHY
klocalizer -a=arm64 --include init/do_mounts.o -DCONFIG_DRM_SUN6I_DSI -UCONFIG_GENERIC_PHY_MIPI_DPHY
Thanks @necipfazil for noticing this.