This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Symbolizer refactoring: Abstract SymbolizerProcess better
ClosedPublic

Authored by kubamracek on Feb 25 2015, 2:11 PM.

Details

Reviewers
samsonov
Summary

Part of http://reviews.llvm.org/D7827. Makes SymbolizerProcess operate on strings and not on modules and offsets. Removes the formatting of input commands from SymbolizerProcess and moves it to individual symbolizers.

Diff Detail

Event Timeline

kubamracek updated this revision to Diff 20701.Feb 25 2015, 2:11 PM
kubamracek retitled this revision from to [compiler-rt] Symbolizer refactoring: Abstract SymbolizerProcess better.
kubamracek updated this object.
kubamracek edited the test plan for this revision. (Show Details)
kubamracek added subscribers: Unknown Object (MLST), zaks.anna, samsonov.

Looks like a step in right direction.

lib/sanitizer_common/sanitizer_symbolizer.h
143–144

This should also return const char *

156

This function should probably return const char * instead.

lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc
374

Add

CHECK(module_name);

here

420–421

add override here

439

ARRAY_SIZE(buffer_), or use named constant.

Addressing review comments.

samsonov accepted this revision.Feb 26 2015, 11:30 AM
samsonov edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 26 2015, 11:30 AM
kubamracek closed this revision.Feb 27 2015, 3:13 AM

Landed in r230749.