This is an archive of the discontinued LLVM Phabricator instance.

Provide missing Internal{Alloc, Free} declarations for libbacktrace symbolizer.
ClosedPublic

Authored by m.ostapenko on Oct 5 2015, 3:07 AM.

Details

Summary

Since r223145 we don't include sanitizer_allocator_internal.h into sanitizer_symbolizer.h, so we can have undefined reference to Internal{Alloc, Free} stuff into sanitizer_symbolizer_libbacktrace.cc under SANITIZER_CP_DEMANGLE macro.

This patch simply includes appropriate header into sanitizer_symbolizer_libbacktrace.h to resolve the issue.

Diff Detail

Repository
rL LLVM

Event Timeline

m.ostapenko updated this revision to Diff 36489.Oct 5 2015, 3:07 AM
m.ostapenko retitled this revision from to Provide missing Internal{Alloc, Free} declarations for libbacktrace symbolizer..
m.ostapenko updated this object.
m.ostapenko added reviewers: kcc, eugenis, samsonov.
m.ostapenko set the repository for this revision to rL LLVM.
m.ostapenko added a subscriber: ygribov.
samsonov accepted this revision.Oct 5 2015, 10:13 AM
samsonov edited edge metadata.

LGTM

lib/sanitizer_common/sanitizer_symbolizer_libbacktrace.h
20 ↗(On Diff #36489)

Please put it between sanitizer_common.h and sanitizer_symbolizer_internal.h

This revision is now accepted and ready to land.Oct 5 2015, 10:13 AM
m.ostapenko edited edge metadata.
m.ostapenko removed rL LLVM as the repository for this revision.

Addressing Alexey's comment.

Alexey, could you please apply this? Thanks!

Ping. Could someone please commit this for me?

Sorry for delay. Submitting this now.

This revision was automatically updated to reflect the committed changes.