Currently, assertion fails if an object file's symbol table has more symbols than is requested by the materialization unit. This is incorrect because some formats add extra symbols. For example, when COFF object file is generated, some symbols get inserted (for example, if a float is added, it adds a symbol __real@<HEX OF FLOAT>. This caused issues down the line because more symbols were being resolved than asked for in the query. This change makes symbol resolution skip these extra symbols.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Sasha,
I’ve added the code to enable symbol-flags overrides for LLJIT in r367712. If you’re using LLJIT please let me know whether it fixes your issue. If not I’m happy to dig in further, but I’m afraid I don’t have access to a Windows machine to test this myself.
Cheers,
Lang.
Comment Actions
Hi!
I was using a custom JIT, but it did fix the problem for me. Thanks so much for your help!