This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt][hwasan] Massage prctl/arch_prctl API constants.
ClosedPublic

Authored by glider on Aug 24 2022, 3:23 AM.

Details

Summary

Move the definitions outside InitializeOsSupport(). Also remove the
undefs, as these constants won't be visible outside the .cpp file anyway.

Diff Detail

Event Timeline

glider created this revision.Aug 24 2022, 3:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2022, 3:23 AM
Herald added subscribers: Enna1, dberris. · View Herald Transcript
glider requested review of this revision.Aug 24 2022, 3:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 24 2022, 3:23 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
kstoimenov accepted this revision.Aug 24 2022, 1:24 PM
This revision is now accepted and ready to land.Aug 24 2022, 1:24 PM
vitalybuka accepted this revision.Aug 24 2022, 1:29 PM