This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Add common "demangle" flag
ClosedPublic

Authored by vitalybuka on Dec 22 2021, 9:37 PM.

Diff Detail

Event Timeline

vitalybuka requested review of this revision.Dec 22 2021, 9:37 PM
vitalybuka created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 22 2021, 9:37 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
vitalybuka retitled this revision from [sanitizer] Add "demangle" flag into sanitizer common to [sanitizer] Add common "demangle" flag.
browneee accepted this revision.Dec 22 2021, 11:31 PM
browneee added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp
286–287

Consider adding
CHECK(i <= kArgVMax);

compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
222–223

Consider adding
CHECK(i <= kArgVMax);

Still fits, but getting close.

This revision is now accepted and ready to land.Dec 22 2021, 11:31 PM

fix internal symbolizer

vitalybuka marked 2 inline comments as done.Dec 23 2021, 11:21 AM
vitalybuka added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
222–223

Added checks here 9fe0d67c9a72488a8d51bdbff52916a91bc06914 as it's not related to the patch.

Ouch! I didn't realize that this so small.
Increased constant here: a7ebf2010ebb76c32f59b95ecd7a403c382add92

This revision was landed with ongoing or failed builds.Dec 23 2021, 2:36 PM
This revision was automatically updated to reflect the committed changes.
vitalybuka marked an inline comment as done.