Displaying 3 results from an estimated 3 matches for "llvmmicha".
2009 Aug 11
2
[LLVMdev] llc undefined symbol
Hi all
I'm writing a pass for the llc tool. If I try to load my pass(llc -load
../mypass.so), this error message appears :
Error opening '/nfs/wsi/ti/graumann/llvm-2.5/Release/lib/LLVMMicha.so':
/nfs/wsi/ti/graumann/llvm-2.5/Release/lib/LLVMMicha.so: undefined symbol:
_ZTVN12_GLOBAL__N_119MyRegisterAllocatorE
-load request ignored.
Is this code wrong for the pass registration, or the makefile?
Thank you for help
Michael
Code of my pass:
using...
2009 Aug 11
0
[LLVMdev] llc undefined symbol
On Aug 11, 2009, at 8:23 AM, Michael Graumann wrote:
> I'm writing a pass for the llc tool. If I try to load my pass(llc -
> load ../mypass.so), this error message appears :
>
> Error opening '/nfs/wsi/ti/graumann/llvm-2.5/Release/lib/
> LLVMMicha.so': /nfs/wsi/ti/graumann/llvm-2.5/Release/lib/
> LLVMMicha.so: undefined symbol:
> _ZTVN12_GLOBAL__N_119MyRegisterAllocatorE
> -load request ignored.
You have to define (instantiate) all your virtual functions.
runOnMachineFunction is one such function, there may be others as...
2009 Aug 11
1
[LLVMdev] llc undefined symbol
...Re: [LLVMdev] llc undefined symbol
On Aug 11, 2009, at 8:23 AM, Michael Graumann wrote:
> I'm writing a pass for the llc tool. If I try to load my pass(llc -
> load ../mypass.so), this error message appears :
>
> Error opening '/nfs/wsi/ti/graumann/llvm-2.5/Release/lib/
> LLVMMicha.so': /nfs/wsi/ti/graumann/llvm-2.5/Release/lib/
> LLVMMicha.so: undefined symbol:
> _ZTVN12_GLOBAL__N_119MyRegisterAllocatorE
> -load request ignored.
You have to define (instantiate) all your virtual functions.
runOnMachineFunction is one such function, there may be others as...