OSDN Git Service

[JITLink] Add a new PostAllocationPasses list.
authorLang Hames <lhames@gmail.com>
Mon, 11 Jan 2021 09:00:45 +0000 (20:00 +1100)
committerLang Hames <lhames@gmail.com>
Tue, 12 Jan 2021 00:57:07 +0000 (11:57 +1100)
commitef50c07b1fad368f6a8d326b4f73dd531009dca4
treea27651986cff0d0e70d22b0d99e56294241c2e28
parentf9902514fe548346a5175a3521c61fc4819c5b8a
[JITLink] Add a new PostAllocationPasses list.

Passes in the new PostAllocationPasses list will run immediately after memory
allocation and address assignment for defined symbols, and before
JITLinkContext::notifyResolved is called. These passes can set up state
associated with the addresses of defined symbols before any query for these
addresses completes.
llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp