Displaying 1 result from an estimated 1 matches for "_zn46_global__n_fullifduplica".
2006 May 19
0
[LLVMdev] help! How to build a shared library out of multiple cpp files in LLVM?
...Duplica has a memember method "bool
isTwowayBranch()", whose implemention is in ClassImplement.cpp. Then if this
method is called in FullIFDuplica.cpp, error occurs.
opt: relocation error:
/home/snir/jingyu/resources/llvm/JingProject/IFDup/Debug/
lib/FullIFDuplica.so.0: undefined symbol:
_ZN46_GLOBAL__N_FullIFDuplica.cpp_9D21
64D3_FF44884A20FullIFDuplica14isTwowayBranchEPN4llvm10BasicBlockE
I find that the symbol table of the generated library has two entrys for
this method.
(U).....FullIFDuplica.cpp_9D2164D3_FF44884A20FullIFDuplica14isTwowayBranch..
and
(T).....ClassImplement.cpp_9D2164D3_FF44884A20FullIF...