Fix Objective-C block symbols naming conflict across modules.

Fix assert triggered when there's checker errors and
 Objective-C method implementations.
This commit is contained in:
Harold Brenes
2025-10-05 15:50:01 -04:00
parent 0f97382fa3
commit 86f9c920da
3 changed files with 16 additions and 12 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ struct lbModule {
StringMap<lbAddr> objc_classes;
StringMap<lbAddr> objc_selectors;
StringMap<lbAddr> objc_ivars;
isize objc_next_block_id; // Used to name objective-c blocks, per module
std::atomic<isize> objc_next_block_id; // Used to name objective-c blocks. IMPORTANT: Tracked on the main module
PtrMap<u64/*type hash*/, lbAddr> map_cell_info_map; // address of runtime.Map_Info
PtrMap<u64/*type hash*/, lbAddr> map_info_map; // address of runtime.Map_Cell_Info