This is an archive of the discontinued LLVM Phabricator instance.

[scudo][standalone] Add new mallopt options.
ClosedPublic

Authored by cferris on Jul 28 2020, 3:05 PM.

Details

Summary

This adds the code to support calling mallopt and converting the
options to the internal Option enum.

Diff Detail

Event Timeline

cferris created this revision.Jul 28 2020, 3:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2020, 3:05 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cferris requested review of this revision.Jul 28 2020, 3:05 PM
cryptoad accepted this revision.Jul 28 2020, 3:07 PM
This revision is now accepted and ready to land.Jul 28 2020, 3:07 PM
cryptoad added inline comments.Jul 28 2020, 3:26 PM
compiler-rt/lib/scudo/standalone/wrappers_c.inc
180

gcc complains that it can't convert the enum to an int.

cferris updated this revision to Diff 281383.Jul 28 2020, 3:35 PM

Fixed Option definition.

cferris updated this revision to Diff 281390.Jul 28 2020, 3:49 PM

Move new tests to only be executed on SCUDO_ANDROID.

cferris updated this revision to Diff 281394.Jul 28 2020, 4:03 PM

Now with the correct name.

This revision was landed with ongoing or failed builds.Jul 28 2020, 4:28 PM
This revision was automatically updated to reflect the committed changes.