[llvm-dev] ORC v2 question

Dibyendu Majumdar via llvm-dev
Wed, 14 Aug 2019 21:34:18 -0000

On Wed, 14 Aug 2019 at 21:53, Dibyendu Majumdar <mobile at
majumdar.org.uk> wrote:
> > There are two ways you could tackle this:
> > (1) Write your own generator that calls
sys::DynamicLibrary::SearchforAddressOfSymbol, or
> > (2) Add the symbols up-front using the absoluteSymbols function.
> >
> > I would be inclined to do the latter: it's more explicit, and
easier to limit searches to exactly the symbols you want.
> >
>
> Okay I will look into this. Thank you for all the help.
>

Looks the documented approach in http://llvm.org/docs/ORCv2.html
doesn't work in LLVM 8.

Regards