[ORC] Add a 'remove' method to JITDylib to remove symbols.
authorLang Hames <lhames@gmail.com>
Sat, 6 Oct 2018 23:03:59 +0000 (23:03 +0000)
committerLang Hames <lhames@gmail.com>
Sat, 6 Oct 2018 23:03:59 +0000 (23:03 +0000)
commit535448e08d318038ce22d9f1234a37647e47af14
treea91d1c687ba12a429c23e561d45c64a809ffa016
parentcb5702c3fd741b9311bab7d9cce7cea39fc7ae42
[ORC] Add a 'remove' method to JITDylib to remove symbols.

Symbols can be removed provided that all are present in the JITDylib and none
are currently in the materializing state. On success all requested symbols are
removed. On failure an error is returned and no symbols are removed.

llvm-svn: 343928
llvm/include/llvm/ExecutionEngine/Orc/Core.h
llvm/lib/ExecutionEngine/Orc/Core.cpp
llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp