summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Support/CommandLine.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-04-30 00:03:26 +0000
committerLang Hames <lhames@gmail.com>2019-04-30 00:03:26 +0000
commitb12867230cd84a3cf9d451a8b25f55789cc59bb3 (patch)
tree24f934b3d2e2c9d9d0ae1669e2708bac1a4658fd /llvm/include/llvm/Support/CommandLine.h
parent1a52eaf7733867f1e92921a057a4cace203050b1 (diff)
downloadbcm5719-llvm-b12867230cd84a3cf9d451a8b25f55789cc59bb3.tar.gz
bcm5719-llvm-b12867230cd84a3cf9d451a8b25f55789cc59bb3.zip
[ORC] Allow JITDylib definition generators to return Errors.
Background: A definition generator can be attached to a JITDylib to generate new definitions in response to queries. For example: a generator that forwards calls to dlsym can map symbols from a dynamic library into the JIT process on demand. If definition generation fails then the generator should be able to return an error. This allows the JIT API to distinguish between the case where a generator does not provide a definition, and the case where it was not able to determine whether it provided a definition due to an error. The immediate motivation for this is cross-process symbol lookups: If the remote-lookup generator is attached to a JITDylib early in the search list, and if a generator failure is misinterpreted as "no definition in this JITDylib" then lookup may continue and bind to a different definition in a later JITDylib, which is a bug. llvm-svn: 359521
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud