AaronBallman wrote: That didn't seem to help (I applied only the CMake changes from the linked PR however). Here's the output I get when calling `dump()` on the `ExecutionSession` which is failing:
``` JIT session error: Symbols not found: [ ??3@YAXPEAX_K@Z ] JITDylib "<Process Symbols>" (ES: 0x000002ae9a538360, State = Open) Link order: [ ("<Process Symbols>", MatchAllSymbols) ] Symbol table: "??2@YAPEAX_K@Z": <not resolved> [Data] Never-Searched (Materializer 0x2ae9a6f6600, <Absolute Symbols>) "??2@YAPEAX_KPEAXU__clang_Interpreter_NewTag@@@Z": <not resolved> [Data] Never-Searched (Materializer 0x2ae9a6f6600, <Absolute Symbols>) "?__clang_Interpreter_SetValueNoAlloc@@YAXPEAX00N@Z": 0x7ff6adef44a3 [Data] Ready "?__clang_Interpreter_SetValueNoAlloc@@YAXPEAX00_K@Z": 0x7ff6ade5188e [Data] Ready "?__clang_Interpreter_SetValueWithAlloc@@YAPEAXPEAX00@Z": <not resolved> [Data] Never-Searched (Materializer 0x2ae9a6f6600, <Absolute Symbols>) JITDylib "<Platform>" (ES: 0x000002ae9a538360, State = Open) Link order: [ ("<Platform>", MatchAllSymbols), ("<Process Symbols>", MatchExportedSymbolsOnly) ] Symbol table: "__cxa_atexit": <not resolved> [Callable] Never-Searched (Materializer 0x2ae99ed48b0, __standard_lib) "__dso_handle": <not resolved> [Data] Never-Searched (Materializer 0x2ae99ed43e0, __standard_lib) "__lljit.atexit_helper": <not resolved> [Data][Hidden] Never-Searched (Materializer 0x2ae9a52c740, <Absolute Symbols>) "__lljit.cxa_atexit_helper": <not resolved> [Data][Hidden] Never-Searched (Materializer 0x2ae9a52d4c0, <Absolute Symbols>) "__lljit.platform_support_instance": <not resolved> [Data] Never-Searched (Materializer 0x2ae9a52d4c0, <Absolute Symbols>) "__lljit.run_atexits_helper": <not resolved> [Data][Hidden] Never-Searched (Materializer 0x2ae9a52c740, <Absolute Symbols>) "__lljit_run_atexits": <not resolved> [Callable][Hidden] Never-Searched (Materializer 0x2ae99ed43e0, __standard_lib) "atexit": <not resolved> [Callable][Hidden] Never-Searched (Materializer 0x2ae99ed43e0, __standard_lib) JITDylib "main" (ES: 0x000002ae9a538360, State = Open) Link order: [ ("main", MatchAllSymbols), ("<Platform>", MatchExportedSymbolsOnly), ("<Process Symbols>", MatchExportedSymbolsOnly) ] Symbol table: "$.incr_module_29.__inits.0": <not resolved> [Data][Hidden] Ready "$.incr_module_31.__inits.0": <not resolved> [Data][Hidden] Ready "$.incr_module_33.__inits.0": <not resolved> [*ERROR*][Data][Hidden] Materializing "??0S@@QEAA@XZ": 0x2ae99e00040 [*ERROR*][Callable][Weak] Resolved "??1S@@QEAA@XZ": 0x2ae99e00000 [*ERROR*][Callable][Weak] Resolved "?x@@3HA": 0x2ae99db0000 [Data] Ready "?y@@3NA": 0x2ae99de0000 [Data] Ready "__dso_handle": <not resolved> [Data] Never-Searched (Materializer 0x2ae99ed4ac0, __standard_lib) "__lljit.atexit_helper": <not resolved> [Data][Hidden] Never-Searched (Materializer 0x2ae9a52d9d0, <Absolute Symbols>) "__lljit.run_atexits_helper": <not resolved> [Data][Hidden] Never-Searched (Materializer 0x2ae9a52d9d0, <Absolute Symbols>) "__lljit_run_atexits": <not resolved> [Callable][Hidden] Never-Searched (Materializer 0x2ae99ed4ac0, __standard_lib) "__orc_init_func.incr_module_29": 0x2ae99d90060 [Callable][Hidden] Ready "__orc_init_func.incr_module_31": 0x2ae99dc0060 [Callable][Hidden] Ready "__orc_init_func.incr_module_33": 0x2ae99e00100 [*ERROR*][Callable][Hidden] Resolved "atexit": <not resolved> [Callable][Hidden] Never-Searched (Materializer 0x2ae99ed4ac0, __standard_lib) ``` `$.incr_module_33.__inits.0` is the `MaterializationResponsibility` `InitSymbol` that failed. https://github.com/llvm/llvm-project/pull/83774 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits