This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Add DebugInfoDWARF dependency
ClosedPublic

Authored by thegameg on Oct 20 2016, 1:45 PM.

Details

Summary

rL284708 introduces a link error when building with BUILD_SHARED_LIBS:

undefined reference to `llvm::DWARFContext::parseCompileUnits()'
undefined reference to `llvm::DWARFContextInMemory::DWARFContextInMemory(
                            llvm::object::ObjectFile const&,
                            llvm::LoadedObjectInfo const*)'

The functions are available in libDebugInfoDWARF, from llvm.

Diff Detail

Repository
rL LLVM

Event Timeline

thegameg updated this revision to Diff 75349.Oct 20 2016, 1:45 PM
thegameg retitled this revision from to [ELF] Add DebugInfoDWARF dependency.
thegameg updated this object.
thegameg added reviewers: grimar, rafael.
thegameg added a subscriber: llvm-commits.
thegameg updated this object.Oct 20 2016, 1:46 PM
ruiu accepted this revision.Oct 20 2016, 1:51 PM
ruiu added a reviewer: ruiu.
ruiu added a subscriber: ruiu.

LGTM

This revision is now accepted and ready to land.Oct 20 2016, 1:51 PM

Thanks @ruiu. Can you commit this for me? I don't have commit access.

This revision was automatically updated to reflect the committed changes.
grimar edited edge metadata.Oct 21 2016, 12:56 AM

r284810, thanks !