[LLVMdev] Index to libraries?

Hendrik Boom hendrik at topoi.pooq.com
Fri Jun 6 09:20:02 PDT 2008


There wouldn't happen to be an index telling one which libraries
define which symbols, would there?

For example, if I'm told

alvm.o: In function `llvm::Function::Create(llvm::FunctionType const*, llvm::GlobalValue::LinkageTypes, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::Module*)':
/farhome/hendrik/dv/llvm/llvm/include/llvm/Function.h:118: undefined reference to `llvm::User::operator new(unsigned int, unsigned int)'
 
or

/farhome/hendrik/dv/lang/alvm/alvm.cpp:69: undefined reference to `llvm::FunctionType::get(llvm::Type const*, std::vector<llvm::Type const*, std::allocator<llvm::Type const*> > const&, bool)'

or even just

/farhome/hendrik/dv/lang/alvm/alvm.cpp:68: undefined reference to `llvm::Type::Int32Ty'

how should I go about finding the proper library to link with?

-- hendrik




More information about the llvm-dev mailing list