[ORC] Add C API functions to obtain and clear the symbol string pool.
authorLang Hames <lhames@gmail.com>
Fri, 2 Oct 2020 04:12:19 +0000 (21:12 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 19 Oct 2020 08:59:03 +0000 (01:59 -0700)
commit35e48d7b91735136e423f71c1d7406eb07a03e89
tree2ef59bc18b1514478a500fe7469c36b35537950b
parent14cb9b4e21de63f74439259bad8caa6fcb7136e1
[ORC] Add C API functions to obtain and clear the symbol string pool.

Symbol string pool entries are ref counted, but not automatically cleared.
This can cause the size of the pool to grow without bound if it's not
periodically cleared. These functions allow that to be done via the C API.
llvm/include/llvm-c/Orc.h
llvm/lib/ExecutionEngine/Orc/OrcV2CBindings.cpp