[llvm-dev] getSymbolAddressInProcess returning null

NAKAMURA Takumi via llvm-dev llvm-dev at lists.llvm.org
Sat Apr 2 01:29:36 PDT 2016


Have you tried to add dllexport?

On Sat, Apr 2, 2016 at 4:23 PM Russell Wallace via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> I've finally managed to extract from Kaleidoscope one particular thing
> that it seems to me should be working and isn't. Given the global
> declaration
>
> extern "C" void foo() {}
>
> within the same program I have
>
> RTDyldMemoryManager::getSymbolAddressInProcess("foo")
>
> And it's returning null. (LLVM 3.8, Windows 7 x64.) What am I missing?
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160402/e1be88e4/attachment.html>


More information about the llvm-dev mailing list