Displaying 1 result from an estimated 1 matches for "istwowaybranch".
2006 May 19
0
[LLVMdev] help! How to build a shared library out of multiple cpp files in LLVM?
...e tried to squeeze everything
in one file, then all errors are gone. But when the program goes large(or
have more than one classes), I don't think it is wise to do so. So I really
want to make it clear where I made the mistake.
For example, CLASS FullIFDuplica 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_FF44884A20F...