This is an archive of the discontinued LLVM Phabricator instance.

Fix LLVM_LINK_LLVM_DYLIB=On build of llvm-cfi-verify
ClosedPublic

Authored by sbc100 on Oct 24 2017, 11:13 AM.

Details

Summary

IIUC CFIVerify is a static library that is shared between just the tool and
the unittest for the tool.
As such it should not be linked in the libLLVM and not a "component."

See rL316059 and rL316372 and rL316422

Diff Detail

Repository
rL LLVM

Event Timeline

sbc100 created this revision.Oct 24 2017, 11:13 AM
sbc100 edited the summary of this revision. (Show Details)Oct 24 2017, 11:16 AM
sbc100 edited the summary of this revision. (Show Details)
sbc100 added subscribers: llvm-commits, dschuff.

Can you add to the commit description that this fixes the build with -DLLVM_LINK_LLVM_DYLIB=ON?

dschuff accepted this revision.Oct 24 2017, 12:28 PM
This revision is now accepted and ready to land.Oct 24 2017, 12:28 PM

oh wait it's in the subject line... just ignore me :D

This revision was automatically updated to reflect the committed changes.
skatkov edited edge metadata.Oct 24 2017, 7:49 PM

Thank you for doing this!