This is an archive of the discontinued LLVM Phabricator instance.

[Sanitizers] Remove unused parameter from COMMON_INTERCEPTOR_MUNMAP_IMPL
ClosedPublic

Authored by kstoimenov on Jun 14 2023, 4:19 PM.

Details

Summary

This was a result of copy/paste from the MMAP interceptor which uses the parameter to swtich between mmap and mmap64.

Diff Detail

Event Timeline

kstoimenov created this revision.Jun 14 2023, 4:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 4:19 PM
Herald added a subscriber: Enna1. · View Herald Transcript
kstoimenov requested review of this revision.Jun 14 2023, 4:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 4:19 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
kstoimenov added inline comments.
compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
2510

I am surprised that this actually worked.

vitalybuka accepted this revision.Jun 15 2023, 3:32 PM
This revision is now accepted and ready to land.Jun 15 2023, 3:32 PM
This revision was landed with ongoing or failed builds.Jun 15 2023, 4:19 PM
This revision was automatically updated to reflect the committed changes.