Displaying 1 result from an estimated 1 matches for "0dd1fbfe".
2014 Jul 22
2
[LLVMdev] How to get the symbols from a .so file?
Hello all,
I develop a project based on Clang where I need to read all symbols from a library. For symbols libraries (.a/.lib) I use the following code:
auto &FM = C->getFileManager();
...
auto Buffer = FM.getBufferForFile(FileEntry);
...
auto Object = llvm::object::ObjectFile::createObjectFile(Buffer);
This code crashes at the last line if the file in