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

Eli Friedman eli.friedman at gmail.com
Mon Jul 20 07:00:43 PDT 2009

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.


More information about the llvm-dev mailing list