This is an archive of the discontinued LLVM Phabricator instance.

Add BinaryFormat to library list for lldCore
ClosedPublic

Authored by sbc100 on Jun 7 2017, 10:58 AM.

Details

Summary

Without this, when building with shared BUILD_SHARED_LIBS=ON
I get the following error:

lib/Core/Reader.cpp:40: error: undefined reference to
'llvm::identify_magic(llvm::StringRef)'

Event Timeline

sbc100 created this revision.Jun 7 2017, 10:58 AM
sbc100 updated this revision to Diff 101784.Jun 7 2017, 11:04 AM

add to other libs too

I'm not sure why this didn't break any of the LLD bots. Is it because they don't build with BUILD_SHARED_LIBS perhaps?

This revision was automatically updated to reflect the committed changes.