llvm-project
98be16f2 - [JITLink][COFF] Use regular external symbol resolution for __ImageBase.

Commit
319 days ago
[JITLink][COFF] Use regular external symbol resolution for __ImageBase. This fixes a concurrency bug in the COFF_x86_64 backend: lookupAsync was used to find __ImageBase without blocking to wait for the result. Rather than adding promises / futures, this patch just adds an external __ImageBase symbol if needed. This is the canonical JITLink solution for resolving external symbols, and is simpler and more concurrency friendly than using promises / futures with lookupAsync.
Author
Committer
Parents
Loading