Dlang LLVM ERROR: Program used external function which could not be resolved
BARRE KEVIN via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Thu Jun 15 06:30:21 PDT 2017
On Wednesday, 14 June 2017 at 16:48:31 UTC, BARRE KEVIN wrote:
> I try to compile d code to llvm IR but when i compile or
> execute .ll i have error
> LLVM ERROR: Program used external function '_d_throw_exception'
> which could not be resolved!
> Why in c or c++ with
> clang -S -emit-llvm foo.c
> lli foo.ll
> It is work normaly.
lli -load /usr/lib/libphobos2.so foo.ll
I forgot link the library
More information about the digitalmars-d-ldc