[LLVMdev] Missing symbols in pass stack trace

Carlo Alberto Ferraris cafxx at strayorange.com
Fri Jun 24 07:34:02 PDT 2011


> Looks like your shared library is not being compiled with symbols. 
>  Did you verify that your sources are compiled with -g?
I think so, this is the makefile (based on the one in the Hello pass):
> LEVEL = ../../..
> LIBRARYNAME = CGF
> LOADABLE_MODULE = 1
> USEDLIBS =
>
> ifneq ($(REQUIRES_RTTI), 1)
> ifneq ($(REQUIRES_EH), 1)
> EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/CGF.exports
> endif
> endif
>
> include $(LEVEL)/Makefile.common
and this is the invocation:
> cafxx at ubuntu:~/Projects/llvm2/lib/Transforms/cgf$ make
> llvm[0]: Compiling CGFPass.cpp for Debug+Asserts build (PIC)
> llvm[0]: Linking Debug+Asserts Loadable Module CGF.so


-- 
Carlo Alberto Ferraris <cafxx at strayorange.com 
<mailto:cafxx at strayorange.com>>
website/blog <http://cafxx.strayorange.com> - +39 333 7643 235
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110624/07611ccf/attachment.html>


More information about the llvm-dev mailing list