[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so

Kenneth Uildriks kennethuil at gmail.com
Mon Jul 20 07:18:24 PDT 2009


Oops.  Thanks... I totally missed that.

On Mon, Jul 20, 2009 at 9:00 AM, Eli Friedman<eli.friedman at gmail.com> wrote:
> On Mon, Jul 20, 2009 at 6:37 AM, Kenneth Uildriks<kennethuil at gmail.com> wrote:
>> I'm running into a completely different problem.  When I do:
>>
>> opt -load LowerFastInvoke.o -help
>>
>> I get the message:
>>
>> Error opening 'LowerFastInvoke.o': LowerFastInvoke.o: only ET_DYN and
>> ET_EXEC can be loaded?
>>
>> Am I missing something?
>
> Assuming the extension is right, you're trying to load an object file,
> which isn't allowed; you have to link it first.
>
> -Eli
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list