diff options
| author | Lang Hames <lhames@gmail.com> | 2019-05-28 23:35:44 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2019-05-28 23:35:44 +0000 |
| commit | eb5ee3004f79c97e973025bb524e278a47c595c7 (patch) | |
| tree | bbf95021e0429f27b92b10871340c1d03f29c973 /llvm/lib/CodeGen | |
| parent | 3da8e5f92073519133086b0c2c972ba028819539 (diff) | |
| download | bcm5719-llvm-eb5ee3004f79c97e973025bb524e278a47c595c7.tar.gz bcm5719-llvm-eb5ee3004f79c97e973025bb524e278a47c595c7.zip | |
[ORC] Track JIT symbol states more explicitly.
Prior to this patch, JITDylibs inferred symbol states (whether a symbol was
newly added, materializing, resolved, or ready to run) via a combination of (1)
bits in the JITSymbolFlags member, and (2) the state of some internal JITDylib
data structures. This patch explicitly tracks symbol states by adding a new
SymbolState member to the symbol table entries, and removing the 'Lazy' and
'Materializing' bits from JITSymbolFlags. This is a first step towards adding
additional states representing initialization phases (e.g. eh-frame registration,
registration with the language runtime, and static initialization).
llvm-svn: 361899
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

